I'd like one of my jails to point directly at my domain like "www.website.com" without any backslashes or anything after ".com". How do I set up the conf file to do that?
That worked! Thanks Jailer! I have another question for anybody in the thread: How do I set up the conf file if I want to use ssl on two separate domains? For instance, suppose I have two plugins. I'd like plugin A to go to www.pluginA.com and plugin B to www.pluginB.com both with SSL. Is this possible to do? Would I need to run another instance of nginx?
./letsencrypt-auto --debug certonly --standalone -d www.pluginA.com -d www.pluginB.com
Just add a new server block with the information needed to forward to the jail in question. Your server name would be the domain and your would forward to the IP of the backend jail.How do I set up the conf file if I want to use ssl on two separate domains?
server { server_name www.pluginA.com; # app1 reverse proxy follow proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://x.x.x.100:80; } server { server_name www.pluginB.com; # app2 reverse proxy settings follow proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://x.x.x.100:80; }
I asked twice but don't get an answer and can't resolve it by myself. Do anybody know the Settings for the ESXI-ui to use with reverse proxy?
* 1 * * 1 ./certbot/letsencrypt-auto renew --pre-hook "service nginx stop" --post-hook "service nginx start"
First off, thanks for the great guide. Plexpy, SABnzbd, and Ombi took a little bit to get working, but it works perfect now!
One question, is there any reason why you have the cronjob to run every minute or am I misinterpreting it?
Hey, did you manually installed nextcloud or did you use the plugin?Hello to all,
I am having troubles with nextcloud, i am trying to access it through mydomain.tld/cloud, already configures config.php and now i am having the following error "The page isn’t redirecting properly" i think i am missing something in the proxy config.
Any help would be realy preciated.
location /torrent { proxy_pass http://192.168.1.10:9091; 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; }
mydomain.com/torrent
URL changes to https://mydomain.com/transmission/web/
mydomain.com
, I see Nginx landing page, so it works.proxy_pass http://192.168.1.10:9091;
proxy_pass http://192.168.1.10:9091/transmission/web/;
No, didn't help. I'm still getting URLTry
Code:proxy_pass http://192.168.1.10:9091/transmission/web/;
https://mydomain.com/transmission/web/
with 404 error.I can access directly byDid you set up the base url for transmission itself? Do you access it via 192.168.1.10:9091/transmission or simply 192.168.1.10:9091?
192.168.1.10:9091/transmission
or simply 192.168.1.10:9091
mydomain.com/torrent