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

IP.Board rewrite for ibparcade

Hello,I'm using IP.Board 3.x.x and am trying to figure out what I need to add to my rewrite rules to get ibparcade( http://www.ibparcade.com/) working with FURLs, as IPS calls them.The directory...

View Article


Re: IP.Board rewrite for ibparcade

derp. Fixed.Added swf to location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$If there are any other recommendation though, it would be appreciated.

View Article


How to find out something like connection id with keep-alive?

Let's say I have keep-alive connections. I'd like to know which entries in my logs belong to the same TCP-connection. Is it possible?

View Article

Re: How to find out something like connection id with keep-alive?

I've found it: http://nginx.org/en/docs/http/ngx_http_log_module.html ($connection variable contains necessary value).

View Article

Re: how to deny access to wordpress wp-admin pages

hi it is the solution for this question either you call jail wp-admin and wp-login php or any kind of php in wp-admin will not be allowedlocation /wp-admin {allow 1.1.1.1; #your home static ip...

View Article


Logging the response body with Nginx Lua

Hi,I have a reverse proxy that l want to log request body with which currently looks lielog_format my_tracking '"$request" "$http_soapaction" "$http_content_type" "$request_body"';which is logging...

View Article

WordPress multisite subdirectory rules not working

I have a wordpress multisite setup. So I looked around and found the "correct" way to set up the location directive. Apparently this should work according to the nginx codex example...

View Article

Nginx + Reverseproxy

Hello,I use nginx as a reverserproxy in front of a IIS Website.Some page returns me a error "502 Bad Gateway". In the error logs, I can see :2013/03/27 12:31:34 [error] 310#0: *279 recv() failed (104:...

View Article


password change

Hello,I want to change the root password.What happend if I change it? (Dose Nginx work? Do I have to do something for work?)Do I need to stop Nginx(#service nginx stop)?Regards

View Article


Caching by Vary: Accept header

I'm working to implement the webp image format on our servers following the ideas posted here:http://www.igvita.com/2012/12/18/deploying-new-image-formats-on-the-web/Opera includes "image/web" in the...

View Article

Nginx maintenance page/redirect with ip exception

Coming fra Apache/htaccess, im trying to get my head around the Nginx paradigme. Im trying to achieve a temporary redirect to a www.mysite.com/maintenance.html page, for all visitors to www.mysite.com...

View Article

nginx 2 conflicting rewrite rules - please help!

Hey guys - I've been struggling for so long with this problem, and have absoloutley no idea what's going on :( Any help would be apprieciated.I have the following 2 rules:rewrite ^(/posts.php)...

View Article

Nginx authentication and dynamic proxy

Hi,I have setup a nginx server (openresty). I need to have authentication based on post params (user, pass, code) and get the result from auth query to redirect on intranet server (proxy_pass...

View Article


Proxy to Gmail

Greetings all,I am trying to set up Nginx so it can proxy my uses' Thunderbird and Outlook clients to Gmail's IMAP and SMTP servers. I am having trouble figuring out how to configure Nginx to do so and...

View Article

custom 403 by deny rule

Hello, i want to show a custom 403 for "deny" requests, since i have two places where a 403 can be shown, one is any IP from a list and the other one is when there is a PHP request in a forbidden...

View Article


NGINX empty session

http://serverfault.com/questions/495551/nginx-empty-sessionVideo with the error http://youtu.be/FDXXKo5LPy8I installed the new 1.2.8 Nginx server with the same configurations from 1.2.1 and now I'm...

View Article

Alter nginx settings to allow debugging with xdebug

Hi,Pretty new to the workings of nginx. Inherited a couple of servers running nginx as load balancers. My specific issue is I'm debugging a PHP app (sugarcrm) using xdebug in netbeans 7.3. It works...

View Article


Oauth module

HiI'm writing a module to support 2-legged Oauth on nginx, and for that I'm using python for all the outh part.I made it work when Oauth parameters are passed as request parameters, but I couldn't make...

View Article

Reverse Proxy with multiple SSL servers

Hi everybody,I'm stuck in a problem and can get it away...I'm in a Virtual environment :1 reverse proxy using nginx (firewall's port 80 and 443 are redirect to him)1 wordpress server using nginx...

View Article

Re: Reverse Proxy with multiple SSL servers

Well... i've type again my severblock file and it's look like it's work now (i don't really understand it's about 10 times i did it ???)for information and help other peoples, these are my serverblock...

View Article
Browsing all 4759 articles
Browse latest View live


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