Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Joannah01
Documentation / Re: PrettyURLs on nginx
« on October 29th, 03:19 AM »
Quote from Pandos on January 31st, 2014, 11:19 AM
Setup PrettyURls for nginx is straight forward.
It's the same setup as for Wordpress.
Thanks to MultiformeIngegno
Code: [Select]
server {
   server_name .DOMAIN.TLD;
   index index.php;
   root /var/www/WEDGE_INSTALLATION_DIR;

   error_log /var/www/WEDGE_INSTALLATION_DIR/error.log;
   #Specify a charset
   charset utf-8;
   location / {
      try_files $uri $uri/ /index.php?$args;

   location ~ \.php$ {
      try_files $uri =404;
      fastcgi_split_path_info ^(.+\.php)(/.+)$;
      fastcgi_read_timeout 180;
      include fastcgi.conf;
      fastcgi_pass unix:/var/run/php5-fpm.sock;
   ## Deny dot files:
   location ~ /\. {
      deny all;

   ## favicon.ico not found
   location = /favicon.ico {
      access_log off;
      log_not_found off;
 [url=] Rachat de crédit [/url]
   ## robots.txt not found
   location = /robots.txt {
      access_log off;
      log_not_found off;

It's so complicated