Files
asimonson1125.github.io/flask.conf
2023-01-29 13:25:00 -06:00

15 lines
312 B
Plaintext

server {
listen 8080;
server_name _;
location / {
proxy_pass http://localhost:5000/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
path https://$server_name$request_uri;
return 301 https://$host$request_uri;
}