add nginx example conf

This commit is contained in:
eneller
2023-12-30 15:40:00 +01:00
parent ee484249ee
commit fc27b5ebbd
7 changed files with 16 additions and 0 deletions

16
nginx/example.com Normal file
View File

@@ -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;
}