diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-18 19:41:34 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-18 19:41:34 +0800 |
commit | 35852ebd3c8b855418591c2a4df7a1e7e4a401fd (patch) | |
tree | 13d8670c15dbbf2b0ed0ac09b1d9ec5b2f137dbf /nginx/sites-available | |
parent | 0f6e1975e8b352774bf0f1710dedf3c51b6b8198 (diff) |
Remove private location
Diffstat (limited to 'nginx/sites-available')
-rw-r--r-- | nginx/sites-available/vps | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/nginx/sites-available/vps b/nginx/sites-available/vps index d1d50fb..ce933c5 100644 --- a/nginx/sites-available/vps +++ b/nginx/sites-available/vps | |||
@@ -218,15 +218,6 @@ server { | |||
218 | index =404; | 218 | index =404; |
219 | } | 219 | } |
220 | 220 | ||
221 | location /public/layx { | ||
222 | alias /home/pham/public/layx/; | ||
223 | |||
224 | autoindex on; | ||
225 | |||
226 | auth_basic "You need to login"; | ||
227 | auth_basic_user_file /etc/nginx/passwd/2022.10.11; | ||
228 | } | ||
229 | |||
230 | location ^~ /private/ { | 221 | location ^~ /private/ { |
231 | alias /home/pham/private/; | 222 | alias /home/pham/private/; |
232 | autoindex on; | 223 | autoindex on; |