'Apache-RevProxNGINX-Installer.sh' updaten
This commit is contained in:
1 parent
8d62047d23
commit
f484c71de0
1 file changed
+1
-1
@@ -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