Files
infra/nginx/example.com
2023-12-30 15:40:00 +01:00

17 lines
400 B
Plaintext

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