'Apache-RevProxNGINX-Installer.sh' updaten

This commit is contained in:
ictmaatwerk committed 2018-09-10 13:33:42 +00:00
1 parent 8d62047d23
commit f484c71de0
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@
#============================================================================== #==============================================================================
# Set server IP variable for apache access # Set server IP variable for apache access
server_ip=$(curl ifconfig.me) server_ip=$(hostname -I|cut -f1 -d ' ')
# Block direct apache acces # Block direct apache acces
ufw deny 8080/tcp 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