Linked Questions

1 vote
1 answer
4k views

I am trying to make my subpath as directory listing only in Nginx, however it returns 404. Suppose I have following config for http://file.example.com/test: server { listen 80; ...
Jerry Bian's user avatar
  • 4,288
0 votes
2 answers
405 views

I've build a Django site on a Digital Ocean droplet but the static files seem to be inaccessible. Looking around for solutions I've think the problem lies in the server settings (Nginx), but as this ...
Sumerechny's user avatar
15 votes
6 answers
17k views

I built an angular-5 application using i18n that supports both french and english. I then deployed a separate version of the app for each supported language - dist |___ en/ | |__ index....
Ahmed Siouani's user avatar
24 votes
1 answer
32k views

My goal is to setup two different single page apps (SPA) under the same domain, where we show the SPA corresponding to the location / path requested. I also want to default to one of the two SPA's on /...
J. Quiles's user avatar
  • 841
20 votes
2 answers
33k views

I have files at /Users/me/myproject and I want to serve them at http://stuff.dev/something using a simple nginx config. In the /Users/me/myproject folder is something like: index.html scripts/ ...
rhodesjason's user avatar
  • 5,044
9 votes
6 answers
15k views

I have been stuck on this for days now and I need the internet's help. I have created a static HTML landing page project for my react application (These two projects are separate), and I wish to serve ...
nuxer's user avatar
  • 488
7 votes
1 answer
8k views

I'm completely new to nginx. I've installed nginx on windows pc. What I want to do is server a list of files in D:\ on localhost:8082/list. If I use the following conf: server { listen ...
imlokesh's user avatar
  • 2,759
3 votes
1 answer
6k views

I can't serve static files through nGinx and I am getting 404 instead. I can see the error (shown in the error.log), I just can't see how to fix it. urls.py urlpatterns += patterns('', ( r'^...
xpanta's user avatar
  • 8,488
1 vote
2 answers
6k views

I have a nginx version: nginx/1.10.3 (Ubuntu) running on Ubuntu 16.04.2 LTS. I use nginx to serve static files, bundles generated by webpack, but that's irrelenvant. What I want to achieve is this: ...
mayk93's user avatar
  • 1,547
2 votes
1 answer
4k views

my application is working fine at location / { include uwsgi_params; uwsgi_pass unix:/tmp/socket_file.sock; } but when i include static assets location location ~* .\(css|js|jpg|jpeg|...
AzamAbbasi's user avatar
3 votes
1 answer
5k views

I using nginx to run my project. So I install nginx to my localhost to testing it My configuration nginx on localhost like this : location / { root html; index index.html index.htm; } If ...
moses toh's user avatar
  • 13.3k
2 votes
2 answers
3k views

I have a django backend and react frontend. I want to serve the react on / and use /admin, /api and /auth for Django. Here's what I have in my Nginx. upstream backend { server 127.0.0.1:8000; } ...
KhoPhi's user avatar
  • 9,577
1 vote
2 answers
4k views

I am trying to host 2 react apps on an NGINX server. My configuration is currently as follows: server { listen 80; server_name www.domain.net; location / { root /var/www/portfolio_site/code/client/...
Alex Wright's user avatar
0 votes
1 answer
4k views

Previously I was working with Apache server (I had a special .htaccess) for my router, and everything worked as expected: request: test.local/index/action was handled by test.local/index.php. My ....
Фред Генкин's user avatar
0 votes
2 answers
896 views

I have an issue on my Django production server. When I try to upload images, they always go to the app/media/ folder. However I want them to be uploaded to /mnt/data. In the admin panel, when I upload ...
RC-'s user avatar
  • 163

15 30 50 per page