File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 25
25
server {
26
26
server_tokens off ;
27
27
listen 8080 ;
28
+ listen [::]:8080;
28
29
29
30
gzip on ;
30
31
gzip_types application/atom+xml application/geo+json application/javascript application/x-javascript application/json application/ld+json application/manifest+json application/rdf+xml application/rss+xml application/xhtml+xml application/xml font/eot font/otf font/ttf image/svg+xml text/css text/javascript text/plain text/xml;
Original file line number Diff line number Diff line change 20
20
}
21
21
server {
22
22
listen 8080;
23
+ listen [::]:8080;
23
24
location / {
24
25
return 301 https://$host:8443$request_uri;
25
26
}
32
33
server {
33
34
server_tokens off;
34
35
listen 8443 ssl;
36
+ listen [::]:8443 ssl;
35
37
server_name your.servername.com;
36
38
ssl_certificate /etc/nginx/ssl/nginx.crt;
37
39
ssl_certificate_key /etc/nginx/ssl/nginx.key;
You can’t perform that action at this time.
0 commit comments