0
votes
1answer
23 views

Nginx reverse proxy and subdomains

I have some problem with Nginx configuration. I've already searched for an issue but the proposed solutions I saw didn't work for me. I have some apps on a tomcat server and some apps on a jboss ...
0
votes
0answers
73 views

Set nginx configuration file to different location

I'm trying to keep all my server code/configuration files in one place. I tried nginx -c /var/www/nginx.conf but received the following error: nginx: [emerg] open() "/var/www/mime.types" failed (2: ...
0
votes
0answers
200 views

Error writing /etc/nginx/nginx.conf: No such file or directory

I just installed Nginx in ubuntu 12.04 then I want to configure it but I'm having a problem saving it. When I hit save, it says: Error writing /etc/nginx/nginx.conf: No such file or directory . How ...
0
votes
0answers
27 views

Messed up the default nginx page, under sites-available, how to restore it ? Or does someone have the deault page?

I am using a Ubuntu 12.04 server and normally worked only with apache2 , now I see that the nginx configuration is pretty the same but a little different in details. For that I want to see the default ...
0
votes
1answer
2k views

Unable to add subdomains with nginx server

I have nginx running on my server and I'm trying to set up a sub domain in the server. Once I tried and it worked without any problem. This is the tutorial I followed I have subdomains such as this ...
0
votes
1answer
90 views

Do I need duplicate values in NGINX [sites-available] configuration? [closed]

Do I need duplicate all new configuration entries (location = ... ) from #Part 1 to PART 2 in Nginx virtual-host configuration file? Eg.: FIRST PART of /etc/nginx/sites-available/mywebisteurl.com ...
1
vote
2answers
9k views

PHP-FPM - Nginx - phpMyAdmin - 502 bad gateway

I have installed and configured PHP-FPM, Nginx, and then phpMyAdmin. When I access the main site everything works fine but as soon as I go to http://mysite.com/phpmyadmin I get a 502 bad gateway ...