Skip to content
Snippets Groups Projects
Commit 9c92e6fa authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Edit nginx conf when rewritting host for wordpress

parent 811f89e9
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -44,7 +44,7 @@ server {
location /wordpress/ {
#proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
sub_filter 'http:\/\/192.168.62.15:8000\/' 'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress\/';
sub_filter 'http:\/\/192.168.62.15:8000' 'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress';
sub_filter_once off;
sub_filter_types *;
proxy_pass http://192.168.62.15:8000/;
......
......@@ -44,7 +44,7 @@ server {
location /wordpress/ {
#proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
sub_filter 'http:\/\/192.168.62.15:8000\/' 'https:\/\/data-reloaded-rec.datalab.erasme.org\/wordpress\/';
sub_filter 'http:\/\/192.168.62.15:8000' 'https:\/\/data-reloaded-rec.datalab.erasme.org\/wordpress';
sub_filter_once off;
sub_filter_types *;
proxy_pass http://192.168.62.15:8000/;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment