add nginx example conf
This commit is contained in:
1 parent
ee484249ee
commit
fc27b5ebbd
7 files changed
+16
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
server_name example.com;
|
||||
location / {
|
||||
|
||||
proxy_pass "http://127.0.0.1:50001/";
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
}
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
}
|
||||
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user