18 lines
476 B
Plaintext
18 lines
476 B
Plaintext
server {
|
|
listen 8006 ssl http2;
|
|
listen [::]:8006 ssl http2;
|
|
|
|
access_log /var/log/nginx/gnuhealth.access.log;
|
|
error_log /var/log/nginx/gnuhealth.error.log;
|
|
|
|
root /srv/gnuhealth/sao;
|
|
try_files $uri @gnuhealth;
|
|
|
|
location @gnuhealth {
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_pass http://127.0.0.1:8097;
|
|
}
|
|
}
|