Failed disk + proxy_intercept_errors

2020-02-12 Thread chocholo3
Hi, In our deployment we do have configuration of proxy cache with multiple hard drives. Because of performance we don't have any RAID on these devices. That means we have to handle even a situation when drive dies, sometime. After disk failure of proxy_cache_path device nginx usually starts servi

Nginx php reverse proxy problem

2020-02-12 Thread adrian.hilt
Hi, I'm running a reverse proxy with nginx and using certbot for ssl. It's been working great but recently with an php server installation it's been giving me problems. I get access to the index but any other page I get a 404 error from nginx. 404 Not Found nginx/1.14.0 (Ubuntu) This is my conf

Re: net::ERR_SSL_PROTOCOL_ERROR

2020-02-12 Thread MarcoI
Solved the problem thanks to Francis Daly who pointed me to the right direction: https://forum.vuejs.org/t/vue-with-nginx/26843/3 // vue.config.js module.exports = { // options... publicPath: '', devServer: { host: '0.0.0.0', port: 8080, public:

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-02-12 Thread MarcoI
Thank you very much Francis!!! Your indications solved this problem: with vue.config.js : // vue.config.js module.exports = { // options... publicPath: '', devServer: { host: '0.0.0.0', port: 8080, public: 'ggc.world' }, } now it works fine: https://drive.google.com/open?id=1

Re: RE: net::ERR_SSL_PROTOCOL_ERROR

2020-02-12 Thread MarcoI
Hi Reinis, setting in /etc/nginx/conf.d/default.conf proxy_set_header Host $host in the location / as follows: server { listen 443 ssl http2 default_server; server_name ggc.world; ssl_certificate /etc/letsencrypt/live/ggc.world/fullchain.pem; # managed by Certbot

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-02-12 Thread Francis Daly
On Tue, Feb 11, 2020 at 02:28:45PM -0500, MarcoI wrote: Hi there, > I "solved" this problem installing the Desktop version of Ubuntu 18.04, as I > described here: > https://askubuntu.com/questions/1207812/webapp-fails-with-neterr-connection-refused-with-ubuntu-18-04-4-server-edition I don't thin

RE: net::ERR_SSL_PROTOCOL_ERROR

2020-02-12 Thread Reinis Rozitis
> Hi!, > I do not understand what should I modify. The problem is your backend application (I assume node app) which listens on the 8080 port. While nginx is doing everything right the app responds and constructs the urls using internal ip and/or 'localhost'. Depending on what the app uses for