2024-01-12 17:55:07 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
|
|
|
server_name library.exozy.me;
|
|
|
|
|
|
|
|
location / {
|
2024-01-20 15:56:03 +00:00
|
|
|
proxy_pass http://unix:/srv/http/library;
|
2024-01-12 17:55:07 +00:00
|
|
|
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;
|
|
|
|
client_max_body_size 200M;
|
|
|
|
}
|
|
|
|
}
|