118 lines
2.4 KiB
Plaintext
118 lines
2.4 KiB
Plaintext
proxy_read_timeout 600;
|
|
|
|
server {
|
|
listen 80;
|
|
server_name dittmar.dev;
|
|
|
|
location / {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
location /.well-known/acme-challenge/ {
|
|
root /var/www/certbot;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name git.dittmar.dev;
|
|
|
|
location / {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
location /.well-known/acme-challenge/ {
|
|
root /var/www/certbot;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name cantropee.dittmar.dev;
|
|
|
|
location / {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
location /.well-known/acme-challenge/ {
|
|
root /var/www/certbot;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name dittmar.dev;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/dittmar.dev/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/dittmar.dev/privkey.pem;
|
|
|
|
include /etc/letsencrypt/options-ssl-nginx.conf;
|
|
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_pass http://home-app:3000;
|
|
}
|
|
|
|
|
|
location /vault {
|
|
return 302 /vault/;
|
|
}
|
|
location /vault/ {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_pass http://10.222.0.2:80/;
|
|
}
|
|
|
|
location /trilium {
|
|
return 302 /trilium/;
|
|
}
|
|
location /trilium/ {
|
|
proxy_set_header Host $host;
|
|
proxy_pass http://trilium:8080/;
|
|
}
|
|
location /panorama {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name git.dittmar.dev;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/dittmar.dev/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/dittmar.dev/privkey.pem;
|
|
|
|
include /etc/letsencrypt/options-ssl-nginx.conf;
|
|
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_pass http://10.222.0.2:3000;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name cantropee.dittmar.dev;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/dittmar.dev/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/dittmar.dev/privkey.pem;
|
|
|
|
include /etc/letsencrypt/options-ssl-nginx.conf;
|
|
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_pass http://cantropee:3000;
|
|
}
|
|
}
|
|
|