This commit is contained in:
msnie
2024-07-28 21:08:16 +02:00
parent b84acf987b
commit 63fb245519
+4 -4
View File
@@ -19,10 +19,10 @@ 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 / {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;