mirror of
https://github.com/plausible/hosting.git
synced 2024-12-23 04:13:19 -06:00
cf97d39241
Relevant: - https://github.com/plausible/analytics/discussions/3826 - https://github.com/plausible/analytics/discussions/3817#discussioncomment-8615006
16 lines
339 B
Plaintext
16 lines
339 B
Plaintext
server {
|
|
# replace example.com with your domain name
|
|
server_name example.com;
|
|
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8000;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
}
|
|
}
|