Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
8a8175cf
There was a problem fetching the pipeline summary.
Commit
8a8175cf
authored
7 years ago
by
FORESTIER Fabien
Browse files
Options
Downloads
Patches
Plain Diff
Edit nginx conf when rewritting host for wordpress
parent
f227ad6c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nginx-development.conf
+6
-14
6 additions, 14 deletions
nginx-development.conf
with
6 additions
and
14 deletions
nginx-development.conf
+
6
−
14
View file @
8a8175cf
...
@@ -43,22 +43,14 @@ server {
...
@@ -43,22 +43,14 @@ server {
}
}
location
/
wordpress
/ {
location
/
wordpress
/ {
#proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
proxy_set_header
Accept
-
Encoding
""
;
sub_filter
'http:\/\/192.168.62.15:8000'
'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress'
;
proxy_pass
http
://
192
.
168
.
62
.
15
:
8000
/;
sub_filter_once
off
;
sub_filter_once
off
;
sub_filter_types
*;
sub_filter_types
*;
proxy_pass
http
://
192
.
168
.
62
.
15
:
8000
/;
proxy_set_header
Accept
-
Encoding
""
;
sub_filter
'http:\/\/192.168.62.15:8000'
'https:\/\/data-reloaded-dev.datalab.erasme.org\/wordpress'
;
sub_filter_types
text
/
html
;
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"
;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header Host $http_host;
# proxy_set_header Host elastic.datalab.erasme.org;
# add_header 'Access-Control-Allow-Origin' '*';
# add_header 'Access-Control-Allow-Credentials' 'true';
# add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
# add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment