mirror of
https://github.com/KevinMidboe/nginx.git
synced 2025-12-08 04:18:52 +00:00
Relative paths for anything located in /etc/nginx
This commit is contained in:
@@ -19,7 +19,7 @@ server {
|
||||
resolver 10.0.0.72;
|
||||
proxy_pass http://seasoned.schleppe:31459;
|
||||
|
||||
include /etc/nginx/snippets/proxy-params.conf;
|
||||
include snippets/proxy-params.conf;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ server {
|
||||
resolver 10.0.0.72;
|
||||
proxy_pass http://seasoned.schleppe:5000;
|
||||
|
||||
include /etc/nginx/snippets/proxy-params.conf;
|
||||
include snippets/proxy-params.conf;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/request.movie-0001/fullchain.pem; # managed by Certbot
|
||||
@@ -44,7 +44,7 @@ server {
|
||||
resolver 10.0.0.72;
|
||||
proxy_pass http://seasoned.schleppe:31459;
|
||||
|
||||
include /etc/nginx/snippets/proxy-params.conf;
|
||||
include snippets/proxy-params.conf;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/api.request.movie/fullchain.pem; # managed by Certbot
|
||||
@@ -63,7 +63,7 @@ server {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
include /etc/nginx/snippets/proxy-params.conf;
|
||||
include snippets/proxy-params.conf;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user