Services Blog Français

Drupal 7 with nginx and uwsgi-php example configuration

| by jpic | linux php uwsgi nginx
Drupal is a CMS written in PHP which supports PostgreSQL. It is made for mod_php and Apache, thought it works with uWGSI and Nginx. When you have tried uWGSI you know why you want this. Example nginx configuration: server { server_name drupal.example.com; root /srv/drupal/www/; error_log /tmp/nginx_drupal.log; index index.php index.html; location / { try_files $uri @rewrite; } location @rewrite { rewrite ^/(.*)$ /index.php?q=$1; } location ~* files/styles { access_log off; expires 30d; try_files $uri @rewrite; } location ~ . Read More
Previous Page 24 of 32 Next Page

They trust us

Contact

logo