'Apache-RevProxNGINX-Installer.sh' updaten
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#==============================================================================
|
||||
|
||||
# Set server IP variable for apache access
|
||||
server_ip=$(curl ifconfig.me)
|
||||
server_ip=$(hostname -I|cut -f1 -d ' ')
|
||||
# Block direct apache acces
|
||||
ufw deny 8080/tcp
|
||||
ufw allow from "$server_ip" proto tcp to any port 8080
|
||||
|
||||
Reference in New Issue
Block a user