Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- # You should look at the following URL's in order to grasp a solid understanding
- # of Nginx configuration files in order to fully unleash the power of Nginx.
- # http://wiki.nginx.org/Pitfalls
- # http://wiki.nginx.org/QuickStart
- # http://wiki.nginx.org/Configuration
- #
- # Generally, you will want to move this file somewhere, and start with a clean
- # file but keep this around for reference. Or just disable in sites-enabled.
- #
- # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
- ##
- # SONARR #
- server {
- listen 80;
- listen [::]:80;
- server_name sonarr.wawona.lan;
- location /{
- proxy_pass http://127.0.0.1:8989;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- }
- # EMBY #
- server {
- listen 80;
- listen [::]:80;
- server_name emby.wawona.lan;
- location /{
- proxy_pass http://127.0.0.1:8096;
- proxy_redirect off;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- #auth_basic "Restricted";
- #auth_basic_user_file "/etc/nginx/.htpasswd";
- }
- }
- ~
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement