wstunnel/deploy/config/wstunnel.nginx
Erèbe 4a704f0bd3 Maj nginx deploy script
Former-commit-id: 8f86249b503cc99eb51aa0e2f6418984c7028a2b
Former-commit-id: c227ba94647a2bbd98dcb99c2932fc98bfd9e0a3 [formerly f91ec0259788c8d95d8b2d6f0ca1624c05d752a5 [formerly f91ec0259788c8d95d8b2d6f0ca1624c05d752a5 [formerly f91ec0259788c8d95d8b2d6f0ca1624c05d752a5 [formerly 615a1c9cb080ac1782c9a01500a18ea48b7c6c17]]]]
Former-commit-id: 09305c9c082551b7ea773653d03ae84cc075ead8
Former-commit-id: 6dc605dd97cabdb34bf716d4e2c988aeb6a13a10
Former-commit-id: dc5754c4759eebea7af2f875756d41b49c99fbf3
Former-commit-id: 22effb2855b668e46246c5710fe5116474104de3 [formerly cdfb595314ea4bddc5ce722ee86741a35e9c6e43]
Former-commit-id: b07358161e388e85db86b7d233993797158f9f1a
2016-08-26 23:04:13 +02:00

21 lines
573 B
Nginx Configuration File

server {
listen *:443 ssl;
listen [::]:443 ssl;
server_name erebe.eu;
server_name 195.154.67.145;
server_name 2001:bc8:3d8f::cafe;
location / {
proxy_read_timeout 1800s;
proxy_pass http://127.0.0.1:{{ listen_port }};
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}