Initialize the admin app with banner management for app sections.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Example: admin panel at https://parche.montech.ir/admin/
|
||||
# Place dist/ contents in the server path mapped to /admin/
|
||||
|
||||
location /admin/ {
|
||||
alias /var/www/parche/admin/;
|
||||
try_files $uri $uri/ /admin/index.html;
|
||||
}
|
||||
|
||||
location ~ ^/admin/assets/ {
|
||||
alias /var/www/parche/admin/assets/;
|
||||
expires 7d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
types {
|
||||
application/javascript js;
|
||||
text/css css;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user