'Apache-RevProxNGINX-Installer.sh' updaten
This commit is contained in:
@@ -7,9 +7,11 @@
|
|||||||
#
|
#
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
|
|
||||||
|
# Set server IP variable for apache access
|
||||||
|
server_ip=$(curl ifconfig.me)
|
||||||
# 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
|
||||||
|
|
||||||
#-------------------#
|
#-------------------#
|
||||||
# APACHE + PHP-FPM #
|
# APACHE + PHP-FPM #
|
||||||
|
|||||||
Reference in New Issue
Block a user