'Apache-RevProxNGINX-Installer.sh' updaten

This commit is contained in:
ictmaatwerk
2018-09-10 13:31:37 +00:00
parent 456fdd8eed
commit 8d62047d23

View File

@@ -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 #