feat: import Sea vHost single-server testing release
This commit is contained in:
commit
248badd33e
441 files changed
+63221
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# Defense-in-depth for an aaPanel reverse-proxy server block.
|
||||
# Include this file inside the public aaPanel `server {}` block, before the
|
||||
# catch-all proxy location. It intentionally disables browser terminal and
|
||||
# other privileged WebSocket features; normal signed HTTP API calls continue.
|
||||
#
|
||||
# This is not sufficient while the aaPanel backend port remains reachable
|
||||
# from untrusted networks. Bind/restrict that port with a firewall, security
|
||||
# group, VPN, or SSH tunnel as the primary control.
|
||||
|
||||
location = /sock_shell { return 403; }
|
||||
location = /webssh { return 403; }
|
||||
location = /ws_panel { return 403; }
|
||||
location = /ws_home { return 403; }
|
||||
location = /ws_project { return 403; }
|
||||
location = /ws_model { return 403; }
|
||||
location = /workorder_client { return 403; }
|
||||
|
||||
location ~ ^/v2/(?:sock_shell|webssh|ws_panel|ws_home|ws_project|ws_model|workorder_client)$ {
|
||||
return 403;
|
||||
}
|
||||
Reference in new issue
Block a user