Archived
1
0
This repository has been archived on 2022-09-03. You can view files and clone it, but cannot push or open issues or pull requests.
mySite/nginxconfig
2021-10-19 21:07:00 +03:00

29 lines
724 B
Plaintext

server {
listen 80;
listen [::]:80;
listen 443 ssl;
ssl_certificate /home/alex/_certbot/config/live/iiiypuk.me/fullchain.pem;
ssl_certificate_key /home/alex/_certbot/config/live/iiiypuk.me/privkey.pem;
root /home/alex/Sites/iiiypuk.me;
location /git/ {
proxy_pass http://localhost:3000/;
}
location /donate/ {
root /home/alex/Sites/iiiypuk.me/donate/;
}
location /torrent/ {
proxy_pass http://127.0.0.1:9091;
proxy_pass_header X-Transmission-Session-Id;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
server_name iiiypuk.me;
}