Changed Tomcat to operate on port 8080 and PHPMyAdmin to port 9000
Cloudflare by default only permits specific ports to pass through in the security mode we use. Since PHPMyAdmin should be hard to access, by binding it to port 9000, Cloudflare does not allow traffic unless you bypass it.
This commit is contained in:
@@ -47,7 +47,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://tomcat:8082;
|
||||
proxy_pass http://tomcat:8080;
|
||||
}
|
||||
|
||||
####### Protections and efficiencies #######
|
||||
@@ -110,7 +110,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://tomcat:8082;
|
||||
proxy_pass http://tomcat:8080;
|
||||
}
|
||||
|
||||
####### Protections and efficiencies #######
|
||||
|
||||
@@ -42,7 +42,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://tomcat:8082;
|
||||
proxy_pass http://tomcat:8080;
|
||||
}
|
||||
|
||||
####### Protections and efficiencies #######
|
||||
|
||||
@@ -42,7 +42,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://tomcat:8082;
|
||||
proxy_pass http://tomcat:8080;
|
||||
}
|
||||
|
||||
####### Protections and efficiencies #######
|
||||
|
||||
Reference in New Issue
Block a user