mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 19:36:40 +03:00
14 lines
418 B
Text
14 lines
418 B
Text
server {
|
|
listen 80 default_server;
|
|
|
|
error_log /home/shlink/www/data/infra/nginx/swoole_proxy.error.log;
|
|
|
|
location / {
|
|
proxy_http_version 1.1;
|
|
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;
|
|
proxy_pass http://shlink_swoole:8080;
|
|
proxy_read_timeout 90s;
|
|
}
|
|
}
|