All Questions
Tagged with production-environment nginx
54
questions
0
votes
0
answers
12
views
Vue: nginx setting works in development mode, fails in production mode
I have a nginx configuration like this:
server {
server_name lionchortle.lol;
location ~ ^/vue {
proxy_pass http://localhost:8085;
}
location ~ ^/vue/ {
proxy_pass http://...
0
votes
0
answers
153
views
Passenger taking 100% of CPU, "This website is under heavy load (queue full)"
I have a production rails 6.0.3, ruby 2.6.3 application with nginx and passenger. The app ran fine for ages until recently, the server began getting it's CPU maxed out. I used htop to see what is ...
0
votes
1
answer
172
views
Traefik2 as reverse_proxy for Nginx in django production docker-compose
I have managed to build a small Django app some basic things. Localy works all fine and I'd like to start this WebApp on a production server I already have running.
On this server are already some ...
0
votes
1
answer
88
views
Why does my Flask app search results page need to be reloaded to display results only when served by nginx?
I have set up a flask-based site that takes user input and makes a query to a postgres database. It works great when I run the app locally, but when I take it live on my vps, the search results in an ...
-2
votes
2
answers
925
views
Django Admin in Production Mode doesn't load the admin page after login
I am having some issues with my production mode. In this case, my login page in admin is not redirecting to the admin page after a successful login. I get the server response as: 200.
[pid: 58|app: 0|...
1
vote
0
answers
303
views
Permission error with Django logs in production
When trying to apply logging config to my Django project on the production server, the site returns a 502 gateway error and sudo journalctl -u gunicorn shows the following Permission denied: '/home/...
1
vote
0
answers
501
views
Rails with NGINX Reverse proxy not working
I'm trying to run on production a Rails 6 application with Nginx (1.21) as a reverse proxy (both running on a dedicated Docker container). I have already done it for other 2 applications and as far as ...
0
votes
1
answer
255
views
React App deployed on production (Digital Ocean) is not loading on browser
I have a react app using node api deployed on Digital Ocean.Its using Nginx webserver.
I can check the status of my api and serve as online using pm2, but on going to my url on browser, m getting &...
0
votes
1
answer
1k
views
Css main file not load to browser
I have ubunto server working with nginx,
and after running npm run build in my react project, the build directory created with the path static/css/main.ca4e3296.chunk.css -> and that is the main ...
0
votes
1
answer
1k
views
Docker-compose for production running laravel with nginx on azure
I have an app that is working but I am getting problems to make it run on Azure.
I have the next docker-compose
version: "3.6"
services:
nginx:
image: nginx:alpine
volumes:
- ./:/var/...
0
votes
1
answer
279
views
nginx + angular 9 error in production for mobile browsers
I'm facing an error in production and I can't figure out the reason of it.
The website I'm working on is a new project http://basefounder.com.
I made a service to collect a mailing list for people ...
2
votes
2
answers
5k
views
How to access and set Environment Variables any production (Nginx and Gunicorn)
I am trying to set Environment Variables for a Nginx And Gunicorn Served Django Project on Ubuntu.
The variables are set for the Ubuntu user and i am able to see the value using printenv VAR_EMAIL.
...
1
vote
1
answer
206
views
How to make make nginx run a script whenever there's a 502 error
So here's what I'm trying to do. Whenever nginx returns a 502, we want it to send a message to our dashboard with the url path that returned a 502.
Then in our dashboard we will display in ...
0
votes
1
answer
210
views
Database doesn't connected on production environment
Setup on production server digitalocean's Ubuntu 18.04
production build - dist
php fpm php7.2 , mysql-server 5.7 , nginx , root@prod
very first I installed mysql-server on Ubuntu droplet according ...
0
votes
1
answer
2k
views
Error on installing Passenger with Nginx on Ubuntu 19.04
I am using Ubuntu 19.04 and was facing the following issue to setup Passenger/Nginx on running the command
sudo apt-get install -y libnginx-mod-http-passenger:
The following packages have unmet ...