0
votes
2answers
1k 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
220 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
318 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
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
93 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
10k 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 ...