Files
2026-07-07 18:56:13 +03:00

47 lines
1.1 KiB
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name xalexbor.fvds.ru;
# Редирект на HTTPS
return 301 https://xalexbor.fvds.ru$request_uri;
}
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name xalexbor.fvds.ru;
ssl_certificate /etc/letsencrypt/live/xalexbor.fvds.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/xalexbor.fvds.ru/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
location /static {
alias /home/xzv/static/;
}
location /docxbot {
include proxy_params;
proxy_pass http://localhost:8003;
}
location /seawarbot {
include proxy_params;
proxy_pass http://localhost:8006;
}
location /eve {
include proxy_params;
proxy_pass http://localhost:8005;
}
location / {
include proxy_params;
proxy_pass http://localhost:8001;
}
}