File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 server {
2626 server_tokens off;
2727 listen 8080 ;
28+ listen [::]:8080 ;
2829
2930 gzip on;
3031 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 2020 }
2121 server {
2222 listen 8080;
23+ listen [::]:8080;
2324 location / {
2425 return 301 https://$host:8443$request_uri;
2526 }
3233 server {
3334 server_tokens off;
3435 listen 8443 ssl;
36+ listen [::]:8443 ssl;
3537 server_name your.servername.com;
3638 ssl_certificate /etc/nginx/ssl/nginx.crt;
3739 ssl_certificate_key /etc/nginx/ssl/nginx.key;
You can’t perform that action at this time.
0 commit comments