123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- ## Configuração para naofo.de
- server {
- listen 80;
- listen [::]:80;
- server_name nao.usem.xyz;
- root /var/www/git/nao.usem.xyz/;
- index index.php index.html index.htm;
- location / {
- proxy_pass http://apache2;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- }
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- listen [::]:80;
- server_name *.nao.usem.xyz;
- return 302 http://nao.usem.xyz$request_uri;
- }
- server {
- listen 80;
- listen [::]:80;
- server_name naofode.xyz;
- root /var/www/git/naofode.xyz/;
- index index.php index.html index.htm;
- location / {
- proxy_pass http://apache2;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- }
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- listen [::]:80;
- server_name *.naofode.xyz;
- return 301 http://naofode.xyz$request_uri;
- }
- server {
- listen 80;
- listen [::]:80;
- server_name nfde.xyz;
- root /var/www/git/nfde.xyz/;
- index index.php index.html index.htm;
- location / {
- proxy_pass http://apache2;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- }
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- listen [::]:80;
- server_name naofode.partidopirata.org;
- root /var/www/git/nao.usem.xyz/;
- index index.php index.html index.htm;
- location / {
- proxy_pass http://apache2;
- # proxy_pass http://naofode;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- }
- location ~ /\.ht {
- deny all;
- }
- }
- server {
- listen 80;
- listen [::]:80;
- server_name *.nfde.xyz;
- return 301 http://nfde.xyz$request_uri;
- }
- server {
- listen 80;
- listen [::]:80;
- server_name naofo.de;
- return 307 http://naofode.partidopirata.org$request_uri;
- }
- server {
- listen 80;
- listen [::]:80;
- server_name *.naofo.de;
- return 301 http://naofo.de$request_uri;
- }
- server {
- listen 80;
- listen [::]:80;
- server_name nfde.tk;
- return 307 http://naofode.partidopirata.org$request_uri;
- }
- server {
- listen 80;
- listen [::]:80;
- server_name *.nfde.tk;
- return 301 http://nfde.tk$request_uri;
- }
- ## SSL
- #server {
- # listen 443 ssl;
- # listen [::]:443 ssl;
- # ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- # ssl_prefer_server_ciphers on;
- # ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
- # ssl_ecdh_curve secp384r1;
- # ssl_session_cache shared:SSL:10m;
- # ssl_session_tickets off;
- # ssl_stapling on;
- # ssl_stapling_verify on;
- # resolver 208.67.220.220 208.67.222.222 valid=300s;
- # resolver_timeout 5s;
- # add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
- # add_header X-Frame-Options SAMEORIGIN;
- # add_header X-Content-Type-Options nosniff;
- # ssl_certificate /etc/letsencrypt/live/nao.usem.xyz/fullchain.pem;
- # ssl_certificate_key /etc/letsencrypt/live/nao.usem.xyz/privkey.pem;
- # ssl_trusted_certificate /etc/letsencrypt/live/nao.usem.xyz/chain.pem;
- #
- # server_name nao.usem.xyz;
- # root /var/www/git/nao.usem.xyz/;
- # index index.php index.html index.htm;
- # location / {
- # proxy_pass https://apache4;
- # proxy_set_header Host $host;
- # proxy_set_header X-Real-IP $remote_addr;
- # proxy_set_header X-Forwarded-For $remote_addr;
- # }
- # location ~ /\.ht {
- # deny all;
- # }
- # }
- # server {
- # listen 443 ssl;
- # listen [::]:443 ssl;
- # ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- # ssl_prefer_server_ciphers on;
- # ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
- # ssl_ecdh_curve secp384r1;
- # ssl_session_cache shared:SSL:10m;
- # ssl_session_tickets off;
- # ssl_stapling on;
- # ssl_stapling_verify on;
- # resolver 208.67.220.220 208.67.222.222 valid=300s;
- # resolver_timeout 5s;
- # add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
- # add_header X-Frame-Options SAMEORIGIN;
- # add_header X-Content-Type-Options nosniff;
- # ssl_certificate /etc/letsencrypt/live/naofode.xyz/fullchain.pem;
- # ssl_certificate_key /etc/letsencrypt/live/naofode.xyz/privkey.pem;
- # ssl_trusted_certificate /etc/letsencrypt/live/naofode.xyz/chain.pem;
- #
- # server_name naofode.xyz;
- # root /var/www/git/naofode.xyz/;
- # index index.php index.html index.htm;
- # location / {
- # proxy_pass https://apache4;
- # proxy_set_header Host $host;
- # proxy_set_header X-Real-IP $remote_addr;
- # proxy_set_header X-Forwarded-For $remote_addr;
- # }
- # location ~ /\.ht {
- # deny all;
- # }
- # }
- # server {
- # listen 443 ssl;
- # listen [::]:443 ssl;
- # ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- # ssl_prefer_server_ciphers on;
- # ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
- # ssl_ecdh_curve secp384r1;
- # ssl_session_cache shared:SSL:10m;
- # ssl_session_tickets off;
- # ssl_stapling on;
- # ssl_stapling_verify on;
- # resolver 208.67.220.220 208.67.222.222 valid=300s;
- # resolver_timeout 5s;
- # add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
- # add_header X-Frame-Options SAMEORIGIN;
- # add_header X-Content-Type-Options nosniff;
- # ssl_certificate /etc/letsencrypt/live/nfde.xyz/fullchain.pem;
- # ssl_certificate_key /etc/letsencrypt/live/nfde.xyz/privkey.pem;
- # ssl_trusted_certificate /etc/letsencrypt/live/nfde.xyz/chain.pem;
- #
- # server_name nfde.xyz;
- # root /var/www/git/nfde.xyz/;
- # index index.php index.html index.htm;
- # location / {
- # proxy_pass https://apache4;
- # proxy_set_header Host $host;
- # proxy_set_header X-Real-IP $remote_addr;
- # proxy_set_header X-Forwarded-For $remote_addr;
- # }
- # location ~ /\.ht {
- # deny all;
- # }
- # }
- server {
- listen 443 ssl;
- listen [::]:443 ssl;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- ssl_prefer_server_ciphers on;
- ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
- ssl_ecdh_curve secp384r1;
- ssl_session_cache shared:SSL:10m;
- ssl_session_tickets off;
- ssl_stapling on;
- ssl_stapling_verify on;
- resolver 208.67.220.220 208.67.222.222 valid=300s;
- resolver_timeout 5s;
- add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
- add_header X-Frame-Options SAMEORIGIN;
- add_header X-Content-Type-Options nosniff;
- ssl_certificate /etc/letsencrypt/live/partidopirata.org-0001/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/partidopirata.org-0001/privkey.pem;
- ssl_trusted_certificate /etc/letsencrypt/live/partidopirata.org-0001/chain.pem;
-
- server_name naofode.partidopirata.org;
- root /var/www/git/nao.usem.xyz/;
- index index.php index.html index.htm;
- location / {
- proxy_pass http://apache2;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- }
- location ~ /\.ht {
- deny all;
- }
- }
|