File tree Expand file tree Collapse file tree 5 files changed +25
-30
lines changed Expand file tree Collapse file tree 5 files changed +25
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- server {
2- listen 80;
3- listen [::]:80;
4- server_name _;
5- return 301 https://$host$request_uri;
6- }
7-
8- server {
9- listen 443 ssl http2;
10- listen [::]:443 ssl http2;
11- server_name SERVER_NAME;
12-
13- ssl_protocols TLSv1.2;
14- ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;
15- ssl_prefer_server_ciphers on;
16- ssl_session_cache shared:SSL:10m;
17- ssl_certificate /etc/nginx/certs/replaceme.crt;
18- ssl_certificate_key /etc/nginx/certs/replaceme.key;
19-
20- location / {
21- proxy_set_header Host $host;
22- proxy_set_header X-Real-IP $remote_addr;
23- proxy_set_header X-Forwarded-Proto https;
24- proxy_pass http://ghost:2368;
25- }
1+ server {
2+ listen 80;
3+ listen [::]:80;
4+ server_name _;
5+ return 301 https://$host$request_uri;
6+ }
7+
8+ server {
9+ listen 443 ssl http2;
10+ listen [::]:443 ssl http2;
11+ server_name SERVER_NAME;
12+
13+ ssl_protocols TLSv1.2;
14+ ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;
15+ ssl_prefer_server_ciphers on;
16+ ssl_session_cache shared:SSL:10m;
17+ ssl_certificate /etc/nginx/certs/replaceme.crt;
18+ ssl_certificate_key /etc/nginx/certs/replaceme.key;
19+
20+ location / {
21+ proxy_set_header Host $host;
22+ proxy_set_header X-Real-IP $remote_addr;
23+ proxy_set_header X-Forwarded-Proto https;
24+ proxy_pass http://ghost:2368;
25+ }
2626}
You can’t perform that action at this time.
0 commit comments