forked from exozyme/nginx
21 lines
467 B
Text
21 lines
467 B
Text
|
server {
|
||
|
listen 443 ssl http2;
|
||
|
listen [::]:443 ssl http2;
|
||
|
server_name ci.exozy.me;
|
||
|
|
||
|
include conf.d/ssl;
|
||
|
|
||
|
location / {
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||
|
proxy_set_header Host $http_host;
|
||
|
|
||
|
proxy_pass http://localhost:2080;
|
||
|
proxy_redirect off;
|
||
|
proxy_http_version 1.1;
|
||
|
proxy_buffering off;
|
||
|
|
||
|
chunked_transfer_encoding off;
|
||
|
}
|
||
|
}
|