Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error 404 when loading module . #53

Open
c0deless opened this issue Oct 5, 2020 · 0 comments
Open

Getting error 404 when loading module . #53

c0deless opened this issue Oct 5, 2020 · 0 comments

Comments

@c0deless
Copy link

c0deless commented Oct 5, 2020

Issue title

Issue Description

Hello when I included module , tried Nginx.conf / website conf / location block.
Always same error .

Okey find out I had to specify location of the file but now .
Strange issue when page load it download the website content .
named as "download" I think its because im using a trick to rename my html file to no extension .
location block : (location / {
try_files $uri $uri/ @htmlext;
}

location ~ \.html$ {
    try_files $uri =404;
}

location @htmlext {
    rewrite ^(.*)$ $1.html last;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant