stuff
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
server {
|
||||
listen 443 ssl default_server;
|
||||
listen [::]:443 ssl default_server;
|
||||
include /etc/nginx/ssl.conf;
|
||||
ssl_reject_handshake on;
|
||||
}
|
||||
@@ -15,8 +15,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/gallery.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/gallery.secretbee.buzz/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
# allow large file uploads
|
||||
client_max_body_size 50000M;
|
||||
|
||||
@@ -17,8 +17,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/git.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/git.secretbee.buzz/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
location / {
|
||||
client_max_body_size 512M;
|
||||
|
||||
@@ -26,8 +26,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/grafana.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/grafana.secretbee.buzz/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -17,8 +17,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/lounge.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/lounge.secretbee.buzz/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:9000/;
|
||||
|
||||
@@ -7,6 +7,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/matrix.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/matrix.secretbee.buzz/privkey.pem;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
||||
@@ -9,6 +9,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/ott.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/ott.secretbee.buzz/privkey.pem;
|
||||
include /etc/nginx/ssl.conf;
|
||||
#deny all;
|
||||
|
||||
location / {
|
||||
|
||||
@@ -28,8 +28,7 @@ server {
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/secretbee.buzz/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
default_type application/json;
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name vault.secretbee.buzz;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/vault.secretbee.buzz/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/vault.secretbee.buzz/privkey.pem;
|
||||
include /etc/nginx/ssl.conf;
|
||||
|
||||
allow 10.10.1.0/24;
|
||||
allow 192.168.178.0/24;
|
||||
deny all;
|
||||
|
||||
client_max_body_size 128M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8222;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
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;
|
||||
}
|
||||
|
||||
location /admin {
|
||||
return 404;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user