immich
This commit is contained in:
@@ -16,15 +16,17 @@
|
|||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2 default_server;
|
# listen 443 ssl http2 default_server;
|
||||||
listen [::]:443 http2 ssl;
|
# listen [::]:443 http2 ssl;
|
||||||
server_name read.knast.cc;
|
# server_name read.knast.cc;
|
||||||
# ssl on;
|
# ssl on;
|
||||||
# ssl_certificate /etc/nginx/yourhost.xyz.crt;
|
# ssl_certificate /etc/nginx/yourhost.xyz.crt;
|
||||||
# ssl_certificate_key /etc/nginx/yourhost.xyz.key;
|
# ssl_certificate_key /etc/nginx/yourhost.xyz.key;
|
||||||
# ssl_protocols TLSv1.2;
|
# ssl_protocols TLSv1.2;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Reference in New Issue
Block a user