Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream backend {
- server 192.168.1.105:19999;
- keepalive 64;
- }
- server {
- listen 443 ssl default_server;
- listen 80 default_server;
- root /config/www;
- index index.html index.htm index.php;
- server_name nextcloud.domainA.com;
- ssl_certificate /config/keys/letsencrypt/fullchain.pem;
- ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
- ssl_dhparam /config/nginx/dhparams.pem;
- ssl_ciphers 'NO IDEA IF THIS IS IMPORTANT SO I DELETED IT';
- ssl_prefer_server_ciphers on;
- client_max_body_size 0;
- location domainB.com/sonarr {
- include /config/nginx/proxy.conf;
- proxy_pass http://192.168.1.105:8989/sonarr;
- }
- location /radarr {
- include /config/nginx/proxy.conf;
- proxy_pass http://192.168.1.105:7878/radarr;
- }
- location /sabnzbd {
- include /config/nginx/proxy.conf;
- proxy_pass http://192.168.1.105:8081/sabnzbd;
- }
- #PLEX
- location /web {
- # serve the CSS code
- proxy_pass http://192.168.1.105:32400;
- }
- # Main /plex rewrite
- location /plex {
- # proxy request to plex server
- proxy_pass http://192.168.1.105:32400/web;
- }
- #OMBI CONTAINER
- location /ombi {
- include /config/nginx/proxy.conf;
- proxy_pass http://192.168.1.105:3579/ombi;
- }
- if ($http_referer ~* /ombi/) {
- rewrite ^/dist/([0-9\d*]).js /ombi/dist/$1.js last;
- }
- location /plexpy {
- include /config/nginx/proxy.conf;
- proxy_pass http://192.168.1.105:8181/plexpy;
- }
- location /nextcloud {
- include /config/nginx/proxy.conf;
- proxy_pass https://192.168.1.105:444/nextcloud;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement