Custom location / addon_configs reference
RNZ01 opened this issue · 1 comments
RNZ01 commented
Problem/Motivation
Hey there,
I just updated my NPM and I'm trying to figure out the correct path for referencing my static HTML
Before updating:
root /ssl/nginxproxymanager/websites/rami;
location / {
autoindex on;
autoindex_exact_size on;
autoindex_format html;
autoindex_localtime on;
}
after updating I would like to access the addon_configs
root /addon_configs/a0d7b954_nginxproxymanager/websites/rami;
location / {
autoindex on;
autoindex_exact_size on;
autoindex_format html;
autoindex_localtime on;
}
Unfortunately, it is not finding the index.html file so I'm getting a 404 error.
Expected behavior
I expect to be able to reference the new addon_configs folder
Actual behavior
404 Error even after trying:
- root /addon_configs/a0d7b954_nginxproxymanager/websites/rami;
- root ./addon_configs/a0d7b954_nginxproxymanager/websites/rami;
- root addon_configs/a0d7b954_nginxproxymanager/websites/rami;
- root ~/addon_configs/a0d7b954_nginxproxymanager/websites/rami;
Steps to reproduce
- Create a new host.
- Create a static HTML file in the addon_configs folder
- Try to set
Custom Nginx Configuration
root
Proposed changes
I'm I doing something wrong? Please help me
RamiAlzayat commented