Quantcast
Channel: Admins Goodies » nginx
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

nginx unix domain socket error

I use fedora 17, and when I setup nginx with uwsgi using unix domain socket, when I place the socket in a directory with proper permission it’s ok, but when I place the socket in the /tmp it will...

View Article



Image may be NSFW.
Clik here to view.

strange lines in nginx log

I’m running nginx 1.2.6 behind amazon elb. Periodically I see the following lines in nginx access.log: 10.28.135.252 - - [14/Jan/2013:14:20:07 +0000] "-" 400 0 "-" "-" "-" 10.28.135.252 - -...

View Article

Image may be NSFW.
Clik here to view.

nginx / mod_passenger on linode instance with oom messages – where to look next?

I am running an Ubuntu Server that is starting to have problems. It’s very lightly used but am confused to why it is now having memory issues. I’ve included some of the output from syslog and free -m....

View Article

Image may be NSFW.
Clik here to view.

Cannot execute PHP file from domain name

Server run on Amazon Linux AMI** (similary to redhat) I follow the installation from Install PHP-FPM, Nginx, & MySQL on EC2 with Amazon Linux AMI It’s work properly if I call directly from server...

View Article

Image may be NSFW.
Clik here to view.

HttpGeoipModule $geoip_country_code is blank

In nginx.conf: http { geoip_country /etc/nginx/GeoIP.dat; ... } If I do: server{ ... location / { add_header X-Geo $geoip_country_code; add_header X-Geo3 $geoip_country_code3; add_header X-IP...

View Article


Image may be NSFW.
Clik here to view.

Does nginx cache (copy) my images?

I’m using http public cache all over an images website to allow clients and anyone between the clients and my server (eg: cloudflare, isp, etc) to cache HTML, assets (js/css/icons), and images (the...

View Article

Image may be NSFW.
Clik here to view.

cannot restart php5-fpm

I’ve made some changes in the .ini files and wanted to restart php5-fpm. /etc/init.d/php5-fpm restart Jan 20 14:25:48.171577 [ERROR] bind() for address ‘/var/lib/php5-fpm/apps.sock’ failed: Address...

View Article

Image may be NSFW.
Clik here to view.

Serving static directory on subdomain with assets

I have a html presentation which I would like to serve on a subdomain on my server. It just consists of some static html files and some assets (the Github is here). I’m trying to write an nginx config...

View Article


Image may be NSFW.
Clik here to view.

Nginx rewrite rule “^/([a-z0-9]{32})\.png$” not working (used to work on Apache)

I have these rewrite rules (I tried both with no avail): location ~* "^/([a-z0-9]{32})\.png$" { rewrite ^ /index.php?page=log&id=$1 last; } and location ~* "/(?<hash>[a-z0-9]{32})\.png" {...

View Article


Image may be NSFW.
Clik here to view.

How do you restart php-fpm?

I need to reload my php.ini and there’s nothing in the help dialog about restarting it. Asked by Galen Assuming you have the appropriate RC scripts in place, /etc/init.d/php-fpm restart or restart...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images