mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-09-01 01:35:17 +00:00
Change Nginx to listen on ports 8080 and 8443
This commit is contained in:
parent
76f09db610
commit
fe18eb00be
1 changed files with 7 additions and 7 deletions
|
|
@ -1,11 +1,11 @@
|
|||
# "You are not configured" page, which is the default if another default doesn't exist
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
||||
set $forward_scheme "http";
|
||||
set $server "127.0.0.1";
|
||||
set $port "80";
|
||||
set $port "8080";
|
||||
|
||||
server_name localhost-nginx-proxy-manager;
|
||||
access_log /data/logs/fallback_http_access.log standard;
|
||||
|
|
@ -20,14 +20,14 @@ server {
|
|||
}
|
||||
}
|
||||
|
||||
# First 443 Host, which is the default if another default doesn't exist
|
||||
# First 8443 Host, which is the default if another default doesn't exist
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
listen 8443 ssl;
|
||||
listen [::]:8443 ssl;
|
||||
|
||||
set $forward_scheme "https";
|
||||
set $server "127.0.0.1";
|
||||
set $port "443";
|
||||
set $port "8443";
|
||||
|
||||
server_name localhost;
|
||||
access_log /data/logs/fallback_http_access.log standard;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue