'Apache-RevProxNGINX-Installer.sh' updaten
This commit is contained in:
1 parent
456fdd8eed
commit
8d62047d23
1 file changed
+3
-1
@@ -7,9 +7,11 @@
|
||||
#
|
||||
#==============================================================================
|
||||
|
||||
# Set server IP variable for apache access
|
||||
server_ip=$(curl ifconfig.me)
|
||||
# Block direct apache acces
|
||||
ufw deny 8080/tcp
|
||||
ufw allow from $server_ip proto tcp to any port 8080
|
||||
ufw allow from "$server_ip" proto tcp to any port 8080
|
||||
|
||||
#-------------------#
|
||||
# APACHE + PHP-FPM #
|
||||
|
||||
Reference in new issue
Block a user