remote ttrss.sadiqsaif.com vhost

This commit is contained in:
packetcat 2022-08-31 11:18:38 -04:00
parent 2e56a5a9ba
commit 2dd11a8553
1 changed files with 0 additions and 34 deletions

View File

@ -152,40 +152,6 @@
- ssl_certificate "/etc/ssl/letsencrypt/sadiqsaif.ca.crt"
- ssl_certificate_key "/etc/ssl/letsencrypt/sadiqsaif.ca.pem"
- return 301 "https://sadiqsaif.com$request_uri"
ttrss.sadiqsaif.com.http:
- listen *:80
- listen [::]:80
- server_name ttrss.sadiqsaif.com
- return 301 "https://$host$request_uri"
ttrss.sadiqsaif.com.https:
- listen *:443 ssl http2
- listen [::]:443 ssl http2
- server_name ttrss.sadiqsaif.com
- root "/srv/www/ttrss.sadiqsaif.com"
- index index.php index.html
- access_log "/var/log/nginx/ttrss.sadiqsaif.com.access.log"
- error_log "/var/log/nginx/ttrss.sadiqsaif.com.error.log"
- client_max_body_size 10M
- ssl_certificate "/etc/ssl/letsencrypt/ttrss.sadiqsaif.com.crt"
- ssl_certificate_key "/etc/ssl/letsencrypt/ttrss.sadiqsaif.com.pem"
- include snippets/sslstapling_hsts.conf
- location /cache {
deny all;
}
- location = /config.php {
deny all;
}
- location / {
try_files $uri $uri/ /index.php?$args;
}
- location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass php;
}
wiki.tenforward.social.http:
- listen *:80
- listen [::]:80