LibreY

- privacy respecting meta search engine
git clone git://git.acid.vegas/LibreY.git
Log | Files | Refs | Archive | README | LICENSE

nginx.conf (554B)

      1 server {
      2     listen       8080;
      3     server_name  ${OPEN_SEARCH_HOST_FOR_NGINX} localhost;
      4 
      5     add_header Content-Security-Policy "default-src 'none'; style-src 'self'; img-src 'self'";
      6     add_header X-Frame-Options "DENY" always;
      7     add_header X-Content-Type-Options "nosniff";
      8 
      9     root   /var/www/html;
     10     index  index.php;
     11 
     12     location / {
     13         try_files $uri $uri/ /index.php?$args;
     14     }
     15 
     16     location ~ \.php$ {
     17         fastcgi_pass   unix:/run/php-fpm82.sock;
     18         fastcgi_index  index.php;
     19         include        fastcgi.conf;
     20     }
     21 }