mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 14:23:48 -07:00
Update the Adguard example to encompass first run
On first run, the forward should go to port 3000 instead of port 80. After installing, port 80 is the correct one.
This commit is contained in:
parent
19fd071bed
commit
76e7222b05
1 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
## Version 2021/05/18
|
## Version 2021/06/09
|
||||||
# make sure that your dns has a cname set for adguard and that your adguard container is named adguard
|
# make sure that your dns has a cname set for adguard and that your adguard container is named adguard
|
||||||
|
# After first run, update the port of the app to port 80
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
|
@ -32,7 +34,9 @@ server {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app adguard;
|
set $upstream_app adguard;
|
||||||
set $upstream_port 80;
|
set $upstream_port 3000;
|
||||||
|
# After first run, comment line above and uncomment line below
|
||||||
|
# set $upstream_port 80;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
@ -42,7 +46,9 @@ server {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
include /config/nginx/resolver.conf;
|
include /config/nginx/resolver.conf;
|
||||||
set $upstream_app adguard;
|
set $upstream_app adguard;
|
||||||
set $upstream_port 80;
|
set $upstream_port 3000;
|
||||||
|
# After first run, comment line above and uncomment line below
|
||||||
|
# set $upstream_port 80;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue