forked from github.com/plausible-hosting
Merge pull request #23 from mabasic/patch-1
Instructs Nginx to listen on both IPv6 and IPv4
This commit is contained in:
commit
11f3867b70
@ -2,6 +2,9 @@ server {
|
|||||||
# replace example.com with your domain name
|
# replace example.com with your domain name
|
||||||
server_name example.com;
|
server_name example.com;
|
||||||
|
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:8000;
|
proxy_pass http://127.0.0.1:8000;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
Reference in New Issue
Block a user