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

Edit rewrited hosts in nginx conf

parent f0313ea5
Branches
Tags
No related merge requests found
Pipeline #
...@@ -44,7 +44,7 @@ server { ...@@ -44,7 +44,7 @@ server {
location /wordpress/ { location /wordpress/ {
#proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/; #proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
sub_filter 'http:\/\/192.168.62.15:8000\/' 'http:\/\/$http_host\/wordpress\/'; sub_filter 'http:\/\/192.168.62.15:8000\/' 'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress\/';
sub_filter_once off; sub_filter_once off;
sub_filter_types *; sub_filter_types *;
proxy_pass http://192.168.62.15:8000/; proxy_pass http://192.168.62.15:8000/;
......
...@@ -44,7 +44,7 @@ server { ...@@ -44,7 +44,7 @@ server {
location /wordpress/ { location /wordpress/ {
#proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/; #proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
sub_filter 'http:\/\/192.168.62.15:8000\/' 'http:\/\/$http_host\/wordpress\/'; sub_filter 'http:\/\/192.168.62.15:8000\/' 'https:\/\/data-reloaded-rec.datalab.erasme.org\/wordpress\/';
sub_filter_once off; sub_filter_once off;
sub_filter_types *; sub_filter_types *;
proxy_pass http://192.168.62.15:8000/; 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