Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

my nginx problem!! pleas help

my website work pefectly on apache service, but on nginx some functions do not work (api)this my nginx config ! pleas help meserver {server_name www.domain.com;rewrite ^(.*) http://domain.com$1...

View Article


Nginx returning this error

I have no idea what is going wrong. Any direction would be much appreciated. Thank you.[emerg] 3226#0: unknown directive "_buffers" in /etc/nginx/nginx.conf:33

View Article


New to nginx need help

Hello everyone,I want to make it so whenever someone tries to access a page that doesn't exist, he gets redirected to lets say 404.phpI could get it done for the following...

View Article

Re: New to nginx need help

Managed to solve the issue.

View Article

Help with nginx configuration

Hey eveyone,I have the following server block:server {listen 80;server_name www.petpal.co.il;return 301 http://petpal.co.il$request_uri;}server {listen 80;server_name petpal.co.il;root...

View Article


Uploading

Using Nginx to replace Apache and hopefully PHP. Added this to nginx.conf for upload capabilities:<code>location /upload {auth_basic "Restricted Upload";auth_basic_user_file...

View Article

Need help with rewrite directive

Hello guys!Can anybody tell me how to replace all paths...

View Article

location & if regex catch ajax requests

Hello.Im all new to nginx, i really like it so far, but i ran into bit of a problem.I have to projects on the server and they both are taking ajax requests, all ajax requests are going through...

View Article


GeoIP data in log access

Hello World,I enabled the GeoIP module in my nginx (configure) and i would like to use the "$geoip_country_name" and "$geoip_city" in my accesslogI tried to add the two variables in my log format...

View Article


Nginx 1.6.2-5 White page with php5-fpm 5.6.9

Hi.Just install a new server with Debian 8, nginx 1.6.2-5, php with php5-fpm (5.6.9) and MariaDB.When I try test php get a white page.Configuration for nginx, site and php ity's same that a developer...

View Article

Nginx location "/something" not working

Hello,I'm working on an ubuntu machine and i want to use nginx to redirect to kibana interfaces.I have two kibanas installed on my machine.1st kibana url: localhost:56012nd kibanaurl: localhost:5602I...

View Article

Re: Nginx location "/something" not working

location /admin {rewrite /admin/([^/]+) /$1 break;proxy_pass http://localhost:5602;...........

View Article

How to make css/js/jpg/png etc cookie-free

Yslow says that there are css/js/jpg/png etc are not cookie-freeAnd my website is loading these elements, that are not cookie-freeHow to configure nginx to set all these files to be cookie-free?

View Article


Re: Nginx location "/something" not working

Hello,I copy/paste this in my conf file..==> NOT WORKING...What u mean with this?? i didn't understand it..Thanks for your response..

View Article

Re: location & if regex catch ajax requests

i fixed..i ended up with/index.php?request=$uri&$args;instead of/index.php?request=$request_uri;

View Article


Nginx as a Reverse Proxy for OpenVPN (TCP 443)

HiI've just set up an OpenVPN internally using TCP 443 as a port. Now I wondered if it were possible to use Nginx as a reverse proxy to connect to the OpenVPN, as I can't connect OpenVPN to the...

View Article

Re: Nginx as a Reverse Proxy for OpenVPN (TCP 443)

nginx supports tcp proxy, http://nginx.org/en/docs/stream/ngx_stream_core_module.htmlWhich could work for this setup.

View Article


Re: Nginx as a Reverse Proxy for OpenVPN (TCP 443)

Hm, okey :-) I will try that and give feedback!Many thanks

View Article

access/error logs and pid files as non-root

Hello Everyone,I am trying to configure ngnix where logs and pid file are written to a custom path and owned as non root. When even I start ngnix these files are created and owned as root. In...

View Article

Re: GeoIP data in log access

Solved here : http://forum.nginx.org/read.php?2,260566Thx Maxim

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>