Questions tagged as 'nginx'

1
answer

Problem with configuring nginx

Save personal, I'm having trouble with this setting: local do arquivo: /etc/nginx/conf.d/virtual.conf # # A virtual host using mix of IP-, name-, and port-based configuration # server { listen 80; # porta server_name sitex.com.br www...
asked by 02.09.2015 / 15:48
1
answer

Redirect mobile nginx

I'm having a problem doing a redirect. It's for me to put www.mysite.com/default/true and it directs me to the normal site even though I'm on my cell phone. if ($http_user_agent ~* "(android|bb\d+|meego).+mobile|android|jasmine|minimo|m...
asked by 03.12.2014 / 14:41
0
answers

Error 500 (Internal Server Error) when uploading

When trying to upload a txt file, I'm getting erro 500 . I gave # chmod -R 777 import to release all permissions. < ls -l of the folder where I am trying to save the file:    drwxrwxrwx 2 francisco francisco 4096 Dec 2...
asked by 03.12.2014 / 14:38
1
answer

Configuration Instance Tomcat / NGinx java sprintg

I need to set up a new tomcat instance to host a new application, and in parallel to this, configure nginx to make the reverse proxy. The application is developed in java Spring. The application is two packages front and one back that will se...
asked by 25.02.2018 / 15:04
2
answers

Problem with Ngnix in OS X Mavericks [closed]

nginx:    [alert] could not open error log file: open ()   "/usr/local/var/log/nginx/error.log" failed (13: Permission denied)   2014/02/05 14:02:43 [emerg] 20175 # 0: open ()   "/Users/username/code/product/log/nginx_access.log" failed (2: N...
asked by 05.02.2014 / 17:10
1
answer

Block other sites from loading my images

How do I block other domains from loading my images?     
asked by 16.02.2018 / 13:11
2
answers

The mbstring is missing - NGINX PHPMYADMIN PHP 7.0.23 CENTOS 7

How can I resolve this error, since I am using php7, and can not download this extension. php 7.0.23 Nginx Centos 7     
asked by 25.09.2017 / 17:42
1
answer

Nginx wildcard DNS, with www, without www and with subdomain

I have a Ngnix server with the following configuration: server { listen 80; server_name .dominio.com.br; root /home/dominio.com.br/public; index index.html index.htm index.php; charset utf-8; location / { try...
asked by 08.09.2014 / 15:17
1
answer

Convert nginx redirect rule to .htaccess

I have the following rule on an Nginx server in production: server { server_name meusite.srv.br; rewrite ^(.*) http://www.meusite.srv.br$1 permanent; } server {         server_name www.meusite.srv.br;         access_log /home/proj...
asked by 23.08.2014 / 15:21
2
answers

Alternatives for server and deploy of Rails applications [closed]

When I do some Rails application I configure my server with Nginx and Passenger, and I usually deploy via GIT or rsync. I know there are other ways to do deploy as well as server configuration. Is there any simpler and / or more performance-...
asked by 28.03.2014 / 18:37