Questions tagged as 'nginx'

0
answers

Nginx Rewrite router

Good morning guys, Is there any way I can do the rules below without having to always repeat the root folder, in this case without needing to see all of the words " rewrite ^ / pw / ... / pw / ... last ; " location /pw { rewrite ^/pw/st...
asked by 06.04.2016 / 14:05
2
answers

How to do rewrite correctly in Nginx?

I'm having trouble configuring Nginx as a reverse proxy in an application. It is a Rails application, which runs on unicorn. In this case, I have the link domain. Instead of creating a subdomain, I'd like link to be the root url and direc...
asked by 24.02.2016 / 22:52
1
answer

Convert htacces to nginx

Good afternoon I'm migrating an Apache server to Nginx and I have a project with some rules in .htaccess that I do not know how to convert to Nginx. they are: RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteCond %{HTTPS}s ^on(s)| R...
asked by 11.11.2015 / 00:24
0
answers

Problem setting angulajs in Nginx

I am not able to configure the angulajs in Nginx. I am using a Centos7 linux machine and would like to set the angle to be able to learn. Follow the nginx.html configuration file user nginx; worker_processes auto; error_log /var/log/nginx/e...
asked by 17.10.2015 / 05:00
0
answers

Nginx with Oracle

I'm having the following problem, set up my nginx tag with the gem passenger , for my application > ruby-on-rails , using Oracle database ( instant client ), at first everything is set correctly, however when I go to the address of my server,...
asked by 20.08.2015 / 13:46
0
answers

Error log: upstream timed out (110: Connection timed out) on Nginx

Hello, I use nginx in Ubuntu 14.04 And my script in php is only loading and will not open! After a long time just loading the page, I face this message: An error occurred. Sorry, the page you are looking for is currently unavailable. Plea...
asked by 30.09.2015 / 03:38
1
answer

Directory listing: 403 Forbidden nginx [closed]

I need help, I started using Nginx now, I was researching on it, I tried it, and I do not know how to configure it properly, but I wanted to enable directory search. In its documentation it is ( AutoIndex: on ) but I use this, it does not...
asked by 22.06.2015 / 19:54
0
answers

How to access a directory from a site that returns a 403 Forbidden error? [closed]

Is there any way to access a directory from a site that returns a Forbiden 403 error? Is there any way to do this for cUrl or wget? I need to access this site it only returns me this error: link     
asked by 26.04.2015 / 19:47
0
answers

How to rewrite my site URL?

I have the following URL:    link I need nginx to make a "switch" for the user and station to be passed as parameters for my application, like this:    link For example, the client types protocol    link and ap...
asked by 15.01.2015 / 17:15
1
answer

Configure nginx to receive any domain

I have this configuration in nginx that any domain that is pointed out on my server it accesses the folder with the domain name. My question is how do I get my clients to point their domain to my server only in a single folder. Example:...
asked by 21.08.2015 / 19:40