Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERR_TOO_MANY_REDIRECTS
- server {
- listen 80 default_server;
- server_name piotrzak.design;
- rewrite ^/(.*) https://piotrzak.design/$1 permanent;
- listen [::]:80 default_server;
- server_name piotrzak.design;
- ssl_certificate /home/pz/piotrzak.design.chained.crt;
- ssl_certificate_key /home/pz/piotrzak.design.key;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- ssl_prefer_server_ciphers on;
- ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
- # SSL configuration
- #
- listen 443 ssl;
- listen [::]:443 ssl;
- #
- # Note: You should disable gzip for SSL traffic.
- # See: https://bugs.debian.org/773332
- #
- # Read up on ssl_ciphers to ensure a secure configuration.
- # See: https://bugs.debian.org/765782
- #
- # Self signed certs generated by the ssl-cert package
- # Don't use them in a production server!
- #
- # include snippets/snakeoil.conf;
- root /home/pz/Potfolio-v.1.0.1;
- # Add index.php to the list if you are using PHP
- index index.html index.htm index.nginx-debian.html;
- server_name piotrzak.design;
- location / {
- # First attempt to serve request as file, then
- # as directory, then fall back to displaying a 404.
- autoindex on;
- try_files $uri $uri/ =404;
- root /home/pz/Portfolio-v.1.0.1;
- proxy_pass https://167.99.140.31:85;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-Proto https;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- }
Add Comment
Please, Sign In to add comment