Nginx gives 404 for some filesSpecial characters in filenames + nginx + php = 404nginx serving AngularJS app...
Is it possible to do 50 km distance without any previous training?
Mage Armor with Defense fighting style (for Adventurers League bladeslinger)
How much RAM could one put in a typical 80386 setup?
"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"
Email Account under attack (really) - anything I can do?
Why, historically, did Gödel think CH was false?
Why did Neo believe he could trust the machine when he asked for peace?
Is it unprofessional to ask if a job posting on GlassDoor is real?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Is it important to consider tone, melody, and musical form while writing a song?
To string or not to string
Font hinting is lost in Chrome-like browsers (for some languages )
Adding span tags within wp_list_pages list items
Smoothness of finite-dimensional functional calculus
What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)
Why was the small council so happy for Tyrion to become the Master of Coin?
Today is the Center
How does one intimidate enemies without having the capacity for violence?
LaTeX closing $ signs makes cursor jump
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
Python: next in for loop
Have astronauts in space suits ever taken selfies? If so, how?
Can divisibility rules for digits be generalized to sum of digits
Maximum likelihood parameters deviate from posterior distributions
Nginx gives 404 for some files
Special characters in filenames + nginx + php = 404nginx serving AngularJS app returns 404 Not Found404 No input file specified. on VirtualBox, CentOS 6.5, NginxPHP FPM / Nginx on Debian Jessie: error 500 and no logsNginx - Execute php files in different docker containerCan not run nginx webserver in dockerFallback for 404 page in nginxNginx reverse proxy container return error 404 Not Found on .php filesLaradock expose nginx portAzure webapp Linux error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Getting 404 for /static/js/admin-extra.js but not for other files, like /static/admin/js/core.js
All static files are copied by Django to the static file directory from both my app, and third party apps. My files are the ones that give 404.
checked permissions (for debugging ran as root):
-rw-r--r--. 1 root root 1617 Apr 5 12:46 admin-extra.js
-rw-r--r--. 1 root root 1617 Apr 5 12:46 core.js
both files are identical. As far as I understand.
Logs for erroring files:
webserver_1 | 2019/04/05 11:59:59 [error] 7#7: *13 open() "/srv/static-files/js/admin-extra.js" failed (2: No such file or directory), client: xx.xx.xx.xx, server: localhost, request: "GET /static/js/admin-extra.js HTTP/1.1", host: "xx.xx.xx.xx"
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:11:59:59 +0000] "GET /static/js/admin-extra.js HTTP/1.1" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Logs for normal files:
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:12:14:35 +0000] "GET /static/admin/css/base.css HTTP/1.1" 200 16378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Thanks in advance.
linux permissions docker nginx django
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Getting 404 for /static/js/admin-extra.js but not for other files, like /static/admin/js/core.js
All static files are copied by Django to the static file directory from both my app, and third party apps. My files are the ones that give 404.
checked permissions (for debugging ran as root):
-rw-r--r--. 1 root root 1617 Apr 5 12:46 admin-extra.js
-rw-r--r--. 1 root root 1617 Apr 5 12:46 core.js
both files are identical. As far as I understand.
Logs for erroring files:
webserver_1 | 2019/04/05 11:59:59 [error] 7#7: *13 open() "/srv/static-files/js/admin-extra.js" failed (2: No such file or directory), client: xx.xx.xx.xx, server: localhost, request: "GET /static/js/admin-extra.js HTTP/1.1", host: "xx.xx.xx.xx"
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:11:59:59 +0000] "GET /static/js/admin-extra.js HTTP/1.1" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Logs for normal files:
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:12:14:35 +0000] "GET /static/admin/css/base.css HTTP/1.1" 200 16378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Thanks in advance.
linux permissions docker nginx django
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
What does your nginx configuration for that site look like?
– Seth
yesterday
1
Can you please add the file and directory hierarchy and structure into your question?
– Fanatique
yesterday
add a comment |
Getting 404 for /static/js/admin-extra.js but not for other files, like /static/admin/js/core.js
All static files are copied by Django to the static file directory from both my app, and third party apps. My files are the ones that give 404.
checked permissions (for debugging ran as root):
-rw-r--r--. 1 root root 1617 Apr 5 12:46 admin-extra.js
-rw-r--r--. 1 root root 1617 Apr 5 12:46 core.js
both files are identical. As far as I understand.
Logs for erroring files:
webserver_1 | 2019/04/05 11:59:59 [error] 7#7: *13 open() "/srv/static-files/js/admin-extra.js" failed (2: No such file or directory), client: xx.xx.xx.xx, server: localhost, request: "GET /static/js/admin-extra.js HTTP/1.1", host: "xx.xx.xx.xx"
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:11:59:59 +0000] "GET /static/js/admin-extra.js HTTP/1.1" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Logs for normal files:
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:12:14:35 +0000] "GET /static/admin/css/base.css HTTP/1.1" 200 16378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Thanks in advance.
linux permissions docker nginx django
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Getting 404 for /static/js/admin-extra.js but not for other files, like /static/admin/js/core.js
All static files are copied by Django to the static file directory from both my app, and third party apps. My files are the ones that give 404.
checked permissions (for debugging ran as root):
-rw-r--r--. 1 root root 1617 Apr 5 12:46 admin-extra.js
-rw-r--r--. 1 root root 1617 Apr 5 12:46 core.js
both files are identical. As far as I understand.
Logs for erroring files:
webserver_1 | 2019/04/05 11:59:59 [error] 7#7: *13 open() "/srv/static-files/js/admin-extra.js" failed (2: No such file or directory), client: xx.xx.xx.xx, server: localhost, request: "GET /static/js/admin-extra.js HTTP/1.1", host: "xx.xx.xx.xx"
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:11:59:59 +0000] "GET /static/js/admin-extra.js HTTP/1.1" 404 548 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Logs for normal files:
webserver_1 | xx.xx.xx.xx - - [05/Apr/2019:12:14:35 +0000] "GET /static/admin/css/base.css HTTP/1.1" 200 16378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"
Thanks in advance.
linux permissions docker nginx django
linux permissions docker nginx django
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
Alex DemboAlex Dembo
1
1
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Alex Dembo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
What does your nginx configuration for that site look like?
– Seth
yesterday
1
Can you please add the file and directory hierarchy and structure into your question?
– Fanatique
yesterday
add a comment |
1
What does your nginx configuration for that site look like?
– Seth
yesterday
1
Can you please add the file and directory hierarchy and structure into your question?
– Fanatique
yesterday
1
1
What does your nginx configuration for that site look like?
– Seth
yesterday
What does your nginx configuration for that site look like?
– Seth
yesterday
1
1
Can you please add the file and directory hierarchy and structure into your question?
– Fanatique
yesterday
Can you please add the file and directory hierarchy and structure into your question?
– Fanatique
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Alex Dembo is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421854%2fnginx-gives-404-for-some-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Alex Dembo is a new contributor. Be nice, and check out our Code of Conduct.
Alex Dembo is a new contributor. Be nice, and check out our Code of Conduct.
Alex Dembo is a new contributor. Be nice, and check out our Code of Conduct.
Alex Dembo is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421854%2fnginx-gives-404-for-some-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What does your nginx configuration for that site look like?
– Seth
yesterday
1
Can you please add the file and directory hierarchy and structure into your question?
– Fanatique
yesterday