Fixed the nginx configuration on README.md

master
Barrington 2023-02-02 14:57:39 +01:00
parent e8f03c430c
commit 5aece18736
Signed by: svragv
GPG Key ID: B39C0BCEE94A4A89
1 changed files with 5 additions and 1 deletions

View File

@ -33,6 +33,7 @@ the default bind Mojolicious uses.
HTTP server, you're on your own.)
~~~conf
server {
server_name sakisafe.whatever.tld;
listen 443 ssl;
@ -40,7 +41,10 @@ server {
# ssl configuration here
location / {
proxy_pass http://127.0.0.1:3000$request_uri;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $remote_addr;
proxy_pass http://127.0.0.1:3000$request_uri;
}
}
~~~