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 #######
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
APR (HTTP/AJP) Connector: /docs/apr.html
|
||||
Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
|
||||
-->
|
||||
<Connector port="8082" protocol="HTTP/1.1"
|
||||
<Connector port="8080" protocol="HTTP/1.1"
|
||||
connectionTimeout="20000"
|
||||
redirectPort="8443" />
|
||||
<!-- A "Connector" using the shared thread pool-->
|
||||
|
||||
Reference in New Issue
Block a user