subject: 2067 update path

message: 2067 update path

license: mit

diff:
--- config/Shared/ci/circle/zed.vhost
+++ config/Shared/ci/circle/zed.vhost
@@ -4,14 +4,14 @@

   LoadModule php5_module /home/ubuntu/.phpenv/versions/5.6.5/libexec/apache2/libphp5.so

-  DocumentRoot /home/ubuntu/zed/public/Zed
+  DocumentRoot /home/ubuntu/project/public/Zed
   ServerName zed.de.spryker.com

   <FilesMatch \.php$>
     SetHandler application/x-httpd-php
   </FilesMatch>

-  <Directory /home/ubuntu/zed/public/Zed>
+  <Directory /home/ubuntu/project/public/Zed>
       Options Indexes FollowSymLinks MultiViews
       AllowOverride All
       Order allow,deny


subject: add newline at end of file

message: add newline at end of file

diff:
--- deployment/osmaxxProduction.vhost
+++ deployment/osmaxxProduction.vhost
@@ -11,4 +11,4 @@
     <Files osmaxx/wsgi.py>
         Require all granted
     </Files>
-</Directory>+</Directory>


subject: update vs site

message: update vs site

diff:
--- images/nginx/xtc.vhost
+++ images/nginx/xtc.vhost
@@ -54,3 +54,32 @@
     fastcgi_pass  unix:/var/run/php5-fpm.sock;
   }
 }
+
+server {
+  server_name viewspeaker.com www.viewspeaker.com;
+  root        /var/www/vs;
+  index       index.html;
+
+  client_max_body_size 100M;
+  fastcgi_read_timeout 1800;
+
+  location / {
+    try_files $uri $uri/ /index.html;
+  }
+
+  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
+    expires       max;
+    log_not_found off;
+    access_log    off;
+  }
+
+  location ~ \.php$ {
+    try_files     $uri =404;
+    fastcgi_split_path_info ^(.+\.php)(/.+)$;
+    include       fastcgi_params;
+    fastcgi_index index.php;
+    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+    fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M";
+    fastcgi_pass  unix:/var/run/php5-fpm.sock;
+  }
+}


subject: the vhost also needs some care

message: the vhost also needs some care

diff:
--- config/project_name.vhost
+++ config/project_name.vhost
@@ -5,9 +5,10 @@
     WSGIApplicationGroup %PROJECT%-%ENV%
     WSGIPassAuthorization On

-    WSGIScriptAlias / %ROOT%/%ENV%/%PROJECT%/%PROJECT%/wsgi.py
+    WSGIScriptAlias / %ROOT%/%PROJECT%/%PROJECT%/wsgi.py

-    ServerName %PROJECT%.%DOMAIN%
+    ServerName %DOMAIN%
+    ServerAlias www.%DOMAIN%

     <Location "/">
         Order Allow,Deny
@@ -17,15 +18,17 @@
     <Location "/static">
         SetHandler None
     </Location>
-    Alias /static %ROOT%/%ENV%/%PROJECT%/static
+    Alias /static %ROOT%/%PROJECT%/static

     <Location "/media">
         SetHandler None
     </Location>
-    Alias /media %ROOT%/%ENV%/%PROJECT%/media
+    Alias /media %ROOT%/%PROJECT%/media

-    ErrorLog /var/log/apache2/%PROJECT%_%ENV%_error.log
+    Alias /robots.txt %ROOT%/%PROJECT%/static/robots.txt
+
+    ErrorLog /var/log/apache2/%DOMAINROJECT%_error.log
     LogLevel info
-    CustomLog /var/log/apache2/%PROJECT%_%ENV%_access.log combined
+    CustomLog /var/log/apache2/%DOMAIN%_access.log combined
 </VirtualHost>


subject: Remove .php extensions from url

message: Remove .php extensions from url

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -7,7 +7,11 @@
   fastcgi_read_timeout 1800;

   location / {
-    try_files $uri $uri/ /index.php$is_args$args;
+    try_files $uri $uri.html $uri/ @extensionless-php;
+  }
+
+  location @extensionless-php {
+    rewrite ^(.*)$ $1.php last;
   }

   location /status {


subject: Set default vhost expires off for assets

diff:
--- var/docker/conf/nginx/sites/default.vhost
+++ var/docker/conf/nginx/sites/default.vhost
@@ -23,7 +23,7 @@
   }

   location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-    expires       max;
+    expires       off;
     log_not_found off;
     access_log    off;
   }


subject: Add DocumentRoot to apache config

message: Add DocumentRoot to apache config

stderr: unknown


subject: nginx configuration

message: nginx configuration

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -12,7 +12,7 @@
         fastcgi_pass   127.0.0.1:9000;
         fastcgi_split_path_info ^(.+\.php)(/.*)$;
         include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+        fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
         fastcgi_param HTTPS off;
     }
 }


subject: nginx configuration

message: nginx configuration

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -3,10 +3,10 @@
     server_name localhost;
     root LOCAL_DIR/web;

-    index  app_dev.php;
+    index  app.php;

     location / {
-        try_files $uri /app_dev.php$is_args$args;
+        try_files $uri $uri/ /index.php?$uri&$args;
     }

     # static content
@@ -14,12 +14,12 @@
         expires 15d;
     }

-    location ~ ^/(app_dev|config)\.php(/|$) {
+    location ~ \.php($|/) {
         fastcgi_pass   127.0.0.1:9000;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
+        fastcgi_index app.php;
+        fastcgi_pass_header Authorization;
         include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-        fastcgi_param HTTPS off;
+        fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
     }

     gzip on;


subject: fix virtual root

message: fix virtual root

repos: xphere/project-manager

diff:
--- config/devel.vhost
+++ config/devel.vhost
@@ -12,8 +12,10 @@
     ServerAlias *.devel

     DocumentRoot /var/www/public
-    VirtualDocumentRoot /var/www/public/%-2+
+    VirtualDocumentRoot /var/www/public/%-1+
     php_admin_value auto_prepend_file /var/www/boot/docroot.php
+    UseCanonicalName Off
+    AcceptPathInfo On

     # combined log for all virtual hosts
     # can be split per-vhost based on the first field
@@ -21,9 +23,6 @@
     CustomLog  /var/www/log/access.log vcommon
     ErrorLog   /var/www/log/errors.log

-    UseCanonicalName Off
-    AcceptPathInfo On
-
     <IfModule mod_rewrite.c>
         RewriteLog /var/www/log/rewrite.log
         RewriteLogLevel 1


subject: Update example vhost file for Apache2

message: Update example vhost file for Apache2

diff:
--- examples/apache2/default.vhost
+++ examples/apache2/default.vhost
@@ -1,11 +1,14 @@
-WSGIPythonPath /path/to/repo/FuzzManager/server
+WSGIDaemonProcess fuzzmanager.your.domain python-path=/path/to/repo/FuzzManager/server
+WSGIProcessGroup fuzzmanager.your.domain
+WSGIApplicationGroup %{GLOBAL}
+
 <VirtualHost *:80>
 	ServerName fuzzmanager.your.domain

 	Alias /static/ /path/to/repo/FuzzManager/server/crashmanager/static/
 	Alias /tests/ /path/to/repo/FuzzManager/server/tests/

-	WSGIScriptAlias / /path/to/repo/FuzzManager/server/server/wsgi.py
+	WSGIScriptAlias / /path/to/repo/FuzzManager/server/server/wsgi.py process-group=fuzzmanager.your.domain
 	WSGIPassAuthorization On

 	<Location />
@@ -23,6 +26,11 @@
 		Satisfy Any
 		Allow from all
 	</Location>
+
+	<Location /ec2spotmanager/rest/>
+		Satisfy Any
+		Allow from all
+	</Location>

 	<Directory /path/to/repo/FuzzManager/server>
 		<Files wsgi.py>


subject: travis script

message: travis script

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -2,30 +2,32 @@
     listen 80;
     server_name localhost;
     root LOCAL_DIR/web;
-
-    index  app.php;
-
     location / {
-        try_files $uri $uri/ /index.php?$uri&$args;
+        # try to serve file directly, fallback to app.php
+        try_files $uri /app.php$is_args$args;
     }
-
-    # static content
-    location ~* ^.+\.(wsf|xml|pdf|doc|jpg|jpeg|gif|css|png|js|ico|ttf|eot|otf|svg)$ {
-        expires 15d;
+    # DEV
+    # This rule should only be placed on your development environment
+    # In production, don't include this and don't deploy app_dev.php or config.php
+    location ~ ^/(app_dev|config)\.php(/|$) {
+        fastcgi_pass   127.0.0.1:9000;
+        fastcgi_split_path_info ^(.+\.php)(/.*)$;
+        include fastcgi_params;
+        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+        fastcgi_param HTTPS off;
     }
-
-    location ~ \.php($|/) {
+    # PROD
+    location ~ ^/app_dev\.php(/|$) {
         fastcgi_pass   127.0.0.1:9000;
-        fastcgi_index app.php;
-        fastcgi_pass_header Authorization;
+        fastcgi_split_path_info ^(.+\.php)(/.*)$;
         include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
+        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+        fastcgi_param HTTPS off;
+        # Prevents URIs that include the front controller. This will 404:
+        # http://domain.tld/app.php/some-path
+        # Remove the internal directive to allow URIs like this
+        internal;
     }
-
-    gzip on;
-    gzip_comp_level 2;
-    gzip_proxied any;
-    gzip_min_length  1000;
-    gzip_disable     "MSIE [1-6]\."
-    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
+    error_log /var/log/nginx/project_error.log;
+    access_log /var/log/nginx/project_access.log;
 }


subject: behat and Selenium (Under development)

message: behat and Selenium (Under development)

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -8,13 +8,18 @@
         try_files $uri @rewriteapp;
     }

+    # static content
+    location ~* ^.+\.(wsf|xml|pdf|doc|jpg|jpeg|gif|css|png|js|ico|ttf|eot|otf|svg)$ {
+        expires 15d;
+    }
+
     location @rewriteapp {
         # rewrite all to app_dev.php
         rewrite ^(.*)$ /app_dev.php/$1 last;
     }

     location ~ ^/(app|app_dev)\.php(/|$) {
-        fastcgi_pass unix:/var/run/php5-fpm.sock;
+        fastcgi_pass   127.0.0.1:9000;
         fastcgi_split_path_info ^(.+\.php)(/.*)$;
         include fastcgi_params;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


subject: set the app as the default server

message: set the app as the default server

diff:
--- nginx/api.gouv.vhost
+++ nginx/api.gouv.vhost
@@ -1,5 +1,5 @@
 server {
-        listen   80;
+        listen 80 default_server;

         root /var/www/app;
         index index.html;


subject: damette

message: damette

diff:
--- config/project_name.vhost
+++ config/project_name.vhost
@@ -27,7 +27,7 @@

     Alias /robots.txt %ROOT%/%PROJECT%/static/robots.txt

-    ErrorLog /var/log/apache2/%DOMAINROJECT%_error.log
+    ErrorLog /var/log/apache2/%DOMAIN%_error.log
     LogLevel info
     CustomLog /var/log/apache2/%DOMAIN%_access.log combined
 </VirtualHost>


subject: Improved location blocks for nginx configs, including fix for url params breaking in views ajax and batch api

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -6,25 +6,29 @@
   client_max_body_size 100M;
   fastcgi_read_timeout 1800;

-  location / {
-    try_files $uri $uri/ /index.php;
+  location ~ \.php$ {
+    fastcgi_index index.php;
+    fastcgi_split_path_info ^(.+\.php)(/.*)$;
+    #try_files $uri $uri/ index.php /index.php$is_args$args;
+    include /etc/nginx/fastcgi_params;
+    fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
+    #fastcgi_pass 127.0.0.1:9000;
+    fastcgi_read_timeout 600;
+    fastcgi_param SCRIPT_FILENAME $request_filename;
+    fastcgi_param APP_ENV dev;
   }

-  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-    expires       max;
-    log_not_found off;
-    access_log    off;
+  location / {
+    index  index.html index.htm index.php;
+    try_files $uri @rewrite;
+    error_page 405 = $uri;
+
   }

-  location ~ \.(hh|php) {
-    proxy_intercept_errors on;
-
-    try_files     $uri =404;
-    include       fastcgi_params;
-    fastcgi_index index.php;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    fastcgi_pass  unix:/var/run/php/php7.0-fpm.sock;
-    #fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
+  location @rewrite {
+    rewrite ^ /index.php;
   }

 }
+
+


subject: nginx configuration

message: nginx configuration

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -2,32 +2,36 @@
     listen 80;
     server_name localhost;
     root LOCAL_DIR/web;
+
+    index  app.php;
+
     location / {
         # try to serve file directly, fallback to app.php
         try_files $uri /app.php$is_args$args;
     }
-    # DEV
-    # This rule should only be placed on your development environment
-    # In production, don't include this and don't deploy app_dev.php or config.php
-    location ~ ^/(app_dev|config)\.php(/|$) {
+
+    # static content
+    location ~* ^.+\.(wsf|xml|pdf|doc|jpg|jpeg|gif|css|png|js|ico|ttf|eot|otf|svg)$ {
+        expires 15d;
+    }
+
+    # PROD
+    location ~ ^/app\.php(/|$) {
         fastcgi_pass   127.0.0.1:9000;
         fastcgi_split_path_info ^(.+\.php)(/.*)$;
         include fastcgi_params;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         fastcgi_param HTTPS off;
-    }
-    # PROD
-    location ~ ^/app_dev\.php(/|$) {
-        fastcgi_pass   127.0.0.1:9000;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-        fastcgi_param HTTPS off;
-        # Prevents URIs that include the front controller. This will 404:
-        # http://domain.tld/app.php/some-path
-        # Remove the internal directive to allow URIs like this
         internal;
     }
+
     error_log /var/log/nginx/project_error.log;
     access_log /var/log/nginx/project_access.log;
+
+    gzip on;
+    gzip_comp_level 2;
+    gzip_proxied any;
+    gzip_min_length  1000;
+    gzip_disable     "MSIE [1-6]\."
+    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
 }


subject: Bugfix: Fix alias for apache to server static files. Fixes #3

license: isc

diff:
--- developmentEnvironment/osmaxx.vhost
+++ developmentEnvironment/osmaxx.vhost
@@ -5,7 +5,7 @@
 WSGIScriptAlias / /var/www/eda/projects/osmaxx/wsgi.py

 Alias "/static/admin" "/var/www/eda/environment/lib/python3.4/site-packages/django/contrib/admin/static/admin"
-Alias /resources/ /var/www/eda/projects/resources/public/
+Alias "/static/excerptexport" "/var/www/eda/projects/excerptexport/static/excerptexport"

 <Directory /var/www/eda/projects>
     <Files osmaxx/wsgi.py>


subject: Update default.vhost

message: Update default.vhost


subject: mod nginx config

message: mod nginx config

repos: yazashin/php-dockerized

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -1,6 +1,6 @@
 server {
   server_name default;
-  root      /var/www/macaron/public;
+  root      /var/www/app/public;
   index     index.php;

   client_max_body_size 100M;
@@ -10,35 +10,41 @@
     try_files $uri $uri/ /index.php$is_args$args;
   }

-  location /status {
+  # location ~ ^/macaron((/)?(.+))?$ {
+  #   root /var/www/app/public;
+  #   try_files $1 /macaron/index.php?$query_string;
+  #
+  #   location ~ \.php$ {
+  #       include fastcgi_params;
+  #       #try_files                $uri = 404;
+  #       include                  fastcgi_params;
+  #       fastcgi_param            SCRIPT_FILENAME $document_root$fastcgi_script_name;
+  #       fastcgi_param            PATHINFO        $fastcgi_path_info;
+  #       fastcgi_param            PATH_TRANSLATED $document_root$fastcgi_path_info;
+  #       fastcgi_split_path_info  ^(.+¥.php)(/.+)$;
+  #       fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
+  #       fastcgi_index index.php;
+  #   }
+  # }
+
+    location ~ \.php$ {
+          include fastcgi_params;
+          #try_files                $uri = 404;
+          include                  fastcgi_params;
+          fastcgi_param            SCRIPT_FILENAME $document_root$fastcgi_script_name;
+          fastcgi_param            PATHINFO        $fastcgi_path_info;
+          fastcgi_param            PATH_TRANSLATED $document_root$fastcgi_path_info;
+          fastcgi_split_path_info  ^(.+¥.php)(/.+)$;
+          fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
+          fastcgi_index index.php;
+    }
+
+
+    location /status {
      access_log off;
-     allow 192.168.99.0/16;
-     deny all;
      include /etc/nginx/fastcgi_params;
      fastcgi_param SCRIPT_FILENAME /status;
      fastcgi_pass unix:/var/run/php5-fpm.sock;
-  }
+    }

-  location /ping {
-     access_log off;
-     allow all;
-     include fastcgi_params;
-     fastcgi_param SCRIPT_FILENAME /ping;
-     fastcgi_pass unix:/Var/run/php5-fpm.sock;
-  }
-
-  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-    expires       max;
-    log_not_found off;
-    access_log    off;
-  }
-
-  location ~ \.php$ {
-    try_files     $uri =404;
-    include       fastcgi_params;
-    fastcgi_index index.php;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    # fastcgi_pass  unix:/var/run/php5-fpm.sock;
-    fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
-  }
 }


subject: nginx configuration

message: nginx configuration

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -3,13 +3,17 @@
     server_name localhost;
     root LOCAL_DIR/web;

+    index  app_dev.php;
+
     location / {
-        # try to serve file directly, fallback to app.php
-        try_files $uri /app.php$is_args$args;
+        try_files $uri /app_dev.php$is_args$args;
     }
-    # DEV
-    # This rule should only be placed on your development environment
-    # In production, don't include this and don't deploy app_dev.php or config.php
+
+    # static content
+    location ~* ^.+\.(wsf|xml|pdf|doc|jpg|jpeg|gif|css|png|js|ico|ttf|eot|otf|svg)$ {
+        expires 15d;
+    }
+
     location ~ ^/(app_dev|config)\.php(/|$) {
         fastcgi_pass   127.0.0.1:9000;
         fastcgi_split_path_info ^(.+\.php)(/.*)$;
@@ -17,19 +21,11 @@
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
         fastcgi_param HTTPS off;
     }
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass   127.0.0.1:9000;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-        fastcgi_param HTTPS off;
-        # Prevents URIs that include the front controller. This will 404:
-        # http://domain.tld/app.php/some-path
-        # Remove the internal directive to allow URIs like this
-        internal;
-    }

-    error_log /var/log/nginx/project_error.log;
-    access_log /var/log/nginx/project_access.log;
+    gzip on;
+    gzip_comp_level 2;
+    gzip_proxied any;
+    gzip_min_length  1000;
+    gzip_disable     "MSIE [1-6]\."
+    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
 }


subject: Signatures (#323)

message:
Signatures (#323)

* Update example default.vhost
* The default.vhost file misses two aliases that allow downloading signatures.zip

diff:
--- examples/apache2/default.vhost
+++ examples/apache2/default.vhost
@@ -7,6 +7,8 @@

 	Alias /static/ /path/to/repo/FuzzManager/server/crashmanager/static/
 	Alias /tests/ /path/to/repo/FuzzManager/server/tests/
+    Alias /crashmanager/tests/ /path/to/FuzzManager/server/tests/
+    Alias /crashmanager/files/ /path/to/FuzzManager/server/files/

 	WSGIScriptAlias / /path/to/repo/FuzzManager/server/server/wsgi.py process-group=fuzzmanager.your.domain
 	WSGIPassAuthorization On


subject: updated default vhost for php 7

message: updated default vhost for php 7

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -18,22 +18,13 @@

   location ~ \.(hh|php) {
     proxy_intercept_errors on;
-    error_page 502 = @fpm;

     try_files     $uri =404;
     include       fastcgi_params;
     fastcgi_index index.php;
     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    #fastcgi_pass  unix:/var/run/php5-fpm.sock;
-    fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
-  }
-
-  location @fpm {
-    try_files $uri /index.php;
-    include fastcgi_params;
-    fastcgi_pass unix:/var/run/php5-fpm.sock;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    fastcgi_index index.php;
+    fastcgi_pass  unix:/var/run/php/php7.0-fpm.sock;
+    #fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
   }

 }


subject: *.gouv.fr site can access the swagger documentation

diff:
--- nginx/apiparticulier.vhost
+++ nginx/apiparticulier.vhost
@@ -9,6 +9,7 @@

         location /docs {
           root /var/www;
+          add_header 'Access-Control-Allow-Origin' '*.gouv.fr';
         }

         location /status {


subject: Delete mataharimall.vhost

message:
Delete mataharimall.vhost

remove another vhost

repos: mfalfaruqi/docker-cf

diff:
--- sites/mataharimall.vhost
+++ sites/mataharimall.vhost
@@ -1,44 +0,0 @@
-server {
-  server_name mataharimall.dev alias www.mataharimall.dev;
-  root        /html/cf-desktop/public;
-  index       index.php;
-
-  client_max_body_size 100M;
-  fastcgi_read_timeout 1800;
-
-  location / {
-    try_files $uri $uri/ /app_dev.php$is_args$args;
-  }
-
-  location /status {
-     access_log off;
-     allow 172.17.0.0/16;
-     deny all;
-     include /etc/nginx/fastcgi_params;
-     fastcgi_param SCRIPT_FILENAME /status;
-     fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
-  }
-
-  location /ping {
-     access_log off;
-     allow all;
-     include fastcgi_params;
-     fastcgi_param SCRIPT_FILENAME /ping;
-     fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
-  }
-
-  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-    expires       max;
-    log_not_found off;
-    access_log    off;
-  }
-
-  location ~ \.php$ {
-    try_files     $uri =404;
-    #include       fastcgi_params;
-    include /etc/nginx/fastcgi_params;
-    fastcgi_index app_dev.php;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    fastcgi_pass  unix:/var/run/php/php5.6-fpm.sock;
-  }
-}


subject: default vhost updated

message: default vhost updated

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -1,30 +1,37 @@
 server {
+
+  listen *:80;
+
   server_name default;
+
   root        /var/www/default;
   index       index.php;

-  client_max_body_size 100M;
-  fastcgi_read_timeout 1800;
+  location ~ \.php$ {
+
+   fastcgi_index index.php;
+   fastcgi_split_path_info ^(.+\.php)(/.*)$;
+   #try_files $uri $uri/ index.php /index.php$is_args$args;
+   include /etc/nginx/fastcgi_params;
+   fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
+   #fastcgi_pass 127.0.0.1:9000;
+   fastcgi_read_timeout 600;
+   fastcgi_param SCRIPT_FILENAME $request_filename;
+   fastcgi_param APP_ENV dev;
+  }

   location / {
-    try_files $uri $uri/ /index.php;
+   index  index.html index.htm index.php;
+   try_files $uri @rewrite;
+   error_page 405 = $uri;
+
   }

-  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-    expires       max;
-    log_not_found off;
-    access_log    off;
+  location @rewrite {
+   rewrite ^ /index.php;
   }

-  location ~ \.(hh|php) {
-    proxy_intercept_errors on;

-    try_files     $uri =404;
-    include       fastcgi_params;
-    fastcgi_index index.php;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    fastcgi_pass  unix:/var/run/php/php7.0-fpm.sock;
-    #fastcgi_pass  unix:/var/run/hhvm/hhvm.sock;
-  }
+  sendfile off;

 }


subject: Delete cf2.vhost

message:
Delete cf2.vhost

remove another vhost

diff:
--- sites/cf2.vhost
+++ sites/cf2.vhost
@@ -1,44 +0,0 @@
-server {
-  server_name cf2.dev;
-  root        /html/cf2;
-  index       index.php;
-
-  client_max_body_size 100M;
-  fastcgi_read_timeout 1800;
-
-  location / {
-    try_files $uri $uri/ /app_dev.php$is_args$args;
-  }
-
-  location /status {
-     access_log off;
-     allow 172.17.0.0/16;
-     deny all;
-     include /etc/nginx/fastcgi_params;
-     fastcgi_param SCRIPT_FILENAME /status;
-     fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
-  }
-
-  location /ping {
-     access_log off;
-     allow all;
-     include fastcgi_params;
-     fastcgi_param SCRIPT_FILENAME /ping;
-     fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
-  }
-
-  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
-    expires       max;
-    log_not_found off;
-    access_log    off;
-  }
-
-  location ~ \.php$ {
-    try_files     $uri =404;
-    #include       fastcgi_params;
-    include /etc/nginx/fastcgi_params;
-    fastcgi_index app_dev.php;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    fastcgi_pass  unix:/var/run/php/php5.6-fpm.sock;
-  }
-}


subject: Update default.vhost

message: Update default.vhost

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -1,5 +1,5 @@
 server {
-  server_name default;
+  server_name keya;
   root        /var/www/public;
   index       main.php;


subject: behat and Selenium (Under development)

message: behat and Selenium (Under development)

diff:
--- travis/nginx/travis.vhost
+++ travis/nginx/travis.vhost
@@ -19,7 +19,7 @@
     }
     # PROD
     location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/var/run/php5-fpm.sock;
+        fastcgi_pass   127.0.0.1:9000;
         fastcgi_split_path_info ^(.+\.php)(/.*)$;
         include fastcgi_params;
         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


subject: add regex to tolerate all env

message: add regex to tolerate all env

diff:
--- nginx/apiparticulier.vhost
+++ nginx/apiparticulier.vhost
@@ -4,7 +4,7 @@
         root /var/www/app;
         index index.html;

-        server_name apiparticulier.sgmap.fr default;
+        server_name ~^apiparticulier(-dev|-test|-local|)\.sgmap\.fr$ default;

         location /docs {


subject: add url rewritting for tech redirect

message: add url rewritting for tech redirect

diff:
--- nginx/apiparticulier.vhost
+++ nginx/apiparticulier.vhost
@@ -13,20 +13,19 @@

         location /api {

-            proxy_set_header X-Real-IP  $remote_addr;
-            proxy_set_header X-Forwarded-For $remote_addr;
-            proxy_set_header Host $host;
-            proxy_pass http://app:3004;
+          proxy_set_header X-Real-IP  $remote_addr;
+          proxy_set_header X-Forwarded-For $remote_addr;
+          proxy_set_header Host $host;
+          proxy_pass http://app:3004;

-         }
+        }

-         location /tech {
-
-             proxy_set_header X-Real-IP  $remote_addr;
-             proxy_set_header X-Forwarded-For $remote_addr;
-             proxy_set_header Host $host;
-             proxy_pass http://tech:4567;
-
-          }
+        location /tech {
+          rewrite /tech(.*) /$1  break;
+          proxy_set_header X-Real-IP  $remote_addr;
+          proxy_set_header X-Forwarded-For $remote_addr;
+          proxy_set_header Host $host;
+          proxy_pass http://tech:4567;
+        }

 }


subject: redirect to the correct environment

message: redirect to the correct environment

diff:
--- nginx/sgmap.vhost
+++ nginx/sgmap.vhost
@@ -4,7 +4,7 @@
         root /var/www/app;
         index index.html;

-        server_name ~^apiparticulier(-dev|-test|-local|)\.sgmap\.fr$;
+        server_name ~^apiparticulier(?<env>-dev|-test|-local|)\.sgmap\.fr$;

         location /api {
@@ -17,6 +17,6 @@
         }

         location / {
-          return         301 $scheme://particulier.api.gouv.fr$request_uri;
+          return         301 $scheme://particulier$env.api.gouv.fr$request_uri;
         }
 }


subject: Fix vhost

message: Fix vhost

diff:
--- var/docker/conf/nginx/sites/default.vhost
+++ var/docker/conf/nginx/sites/default.vhost
@@ -6,12 +6,20 @@
   client_max_body_size 16M;
   fastcgi_read_timeout 60;

-  location @rewrite {
-    rewrite ^/([^?]*)$ /index.php?/$1 last;
+  location / {
+    try_files $uri /index.php$is_args$args;
   }

-  location / {
-    try_files $uri $uri/ @rewrite;
+  location ~ ^/(index|index_dev)\.php(/|$) {
+    fastcgi_pass unix:/var/run/php5-fpm.sock;
+    fastcgi_split_path_info ^(.+\.php)(/.*)$;
+    include fastcgi_params;
+    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+    fastcgi_param HTTPS off;
+  }
+
+  location ~ \.php$ {
+    return 404;
   }

   location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
@@ -19,14 +27,4 @@
     log_not_found off;
     access_log    off;
   }
-
-  location ~ \.php$ {
-    try_files     $uri =404;
-    include       fastcgi_params;
-    fastcgi_index index.php;
-    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-    fastcgi_param PATH_INFO $fastcgi_script_name;
-    fastcgi_param REQUEST_URI $request_uri;
-    fastcgi_pass  unix:/var/run/php5-fpm.sock;
-  }
 }


subject: Updated the server name directive in the sample vhost config for the hellworld example.

diff:
--- examples/helloworld/tpl/sample.vhost
+++ examples/helloworld/tpl/sample.vhost
@@ -1,7 +1,7 @@
 # Unless otherwise noted, replace all settings w/in curly braces with values
 # suited to your own environment.
 <VirtualHost *:80>
-    ServerName  example.sonno.dev
+    ServerName  helloworld.example.sonno.dev
     ServerAdmin {youraddress@you.com}

     DocumentRoot {your/path/to}/examples/helloworld/www


subject: fix nginx vhost

message: fix nginx vhost

diff:
--- support/nginx.vhost
+++ support/nginx.vhost
@@ -2,8 +2,8 @@
     listen <YOURIP>:443 ssl;
     server_name <YOURFQDN>;

-    ssl_certificate         /etc/nginx/ssl/server.pem;
-    ssl_certificate_key     /etc/nginx/ssl/server.pem;
+    ssl_certificate         /etc/nginx/ssl/cpves.pem;
+    ssl_certificate_key     /etc/nginx/ssl/cpves.pem;
     ssl_protocols           SSLv3 TLSv1 TLSv1.1 TLSv1.2;
     ssl_ciphers             HIGH:!aNULL:!MD5;


subject: update xtc web config

message: update xtc web config

diff:
--- images/nginx/xtc.vhost
+++ images/nginx/xtc.vhost
@@ -1,5 +1,5 @@
 server {
-  server_name mobile.viewspeaker.com;
+  server_name mobile.viewspeaker.com mobile.viewspeaker.cat;
   root        /var/www/xtc;
   index       index.php;

@@ -27,7 +27,7 @@
 }

 server {
-  server_name mobile.api.viewspeaker.com;
+  server_name mobile.api.viewspeaker.com mobile.api.viewspeaker.cat;
   root        /var/www/xtc;
   index       index.php;


subject: Enable GET parameters

message: Enable GET parameters

diff:
--- sites/default.vhost
+++ sites/default.vhost
@@ -7,7 +7,7 @@
   fastcgi_read_timeout 1800;

   location / {
-    try_files $uri $uri/ /index.php;
+    try_files $uri $uri/ /index.php$is_args$args;
   }

   location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {


subject: test with new default.vhost file

message: test with new default.vhost file

diff:
--- travis-ci/default.vhost
+++ travis-ci/default.vhost
@@ -5,7 +5,7 @@
 	server_name localhost;
 	charset UTF-8;

-		# Block Bad Bots
-		include /etc/nginx/bots.d/blockbots.conf;
-		include /etc/nginx/bots.d/ddos.conf;
+    location / {
+      root /var/www/html/;
+        }
 }


subject: remove restriction on CORS

message: remove restriction on CORS

diff:
--- nginx/apiparticulier.vhost
+++ nginx/apiparticulier.vhost
@@ -9,7 +9,7 @@

         location /docs {
           root /var/www;
-          add_header 'Access-Control-Allow-Origin' '*.gouv.fr';
+          add_header 'Access-Control-Allow-Origin' '*';
         }

         location /status {


subject: Modification config VHOST

message: Modification config VHOST

diff:
--- server_config/site.vhost
+++ server_config/site.vhost
@@ -1,10 +1,10 @@
 <VirtualHost *:80>
-	ServerName appblanche.local
-	DocumentRoot /var/git/zf2biz/application-blanche/public
+	ServerName galerie.local
+	DocumentRoot /var/git/zf2biz/gallerie/public

 	SetEnv APPLICATION_ENV "development"

-	<Directory /var/git/zf2biz/application-blanche/public>
+	<Directory /var/git/zf2biz/galerie/public>
 		Order deny,allow
 		Allow from all


subject: Add nginx configuration

message:
Add nginx configuration

Signed-off-by: Konosprod <220f1eb1aca902f59b8c2b389e151298848b6ae6@free.fr>

stderr: error: pathspec 'nginx.vhost' did not match any file(s) known to git

diff:
--- nginx.vhost
+++ nginx.vhost
@@ -0,0 +1,28 @@
+server {
+	server_name push.example.fr;
+        root /var/www/push.example.fr;
+        access_log /var/log/nginx/push.example.fr.access.log;
+        error_log /var/log/nginx/push.example.fr.error.log;
+
+        index index.php;
+
+	location / {
+
+		try_files $uri $uri/ /index.php?$args;
+        }
+
+	location ~ "^/([\w\d]{4})$" {
+		try_files $uri /pages/decoder.php?decode=$1;
+	}
+
+        location ~ \.php$ {
+                include fastcgi_params;
+                fastcgi_intercept_errors on;
+                fastcgi_pass unix:/var/run/php5-fpm.sock;
+        }
+
+        location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
+                expires max;
+                log_not_found off;
+        }
+}


subject: apache vhost config file

message: apache vhost config file

stderr: error: pathspec 'config/project_name.vhost' did not match any file(s) known to git

diff:
--- config/project_name.vhost
+++ config/project_name.vhost
@@ -0,0 +1,31 @@
+<VirtualHost *:80>
+    WSGIScriptReloading On
+    WSGIDaemonProcess %PROJECT%-%ENV%
+    WSGIProcessGroup %PROJECT%-%ENV%
+    WSGIApplicationGroup %PROJECT%-%ENV%
+    WSGIPassAuthorization On
+
+    WSGIScriptAlias / %ROOT%/%ENV%/%PROJECT%/config/%PROJECT%.wsgi
+
+    ServerName %PROJECT%.%DOMAIN%
+
+    <Location "/">
+        Order Allow,Deny
+        Allow from all
+    </Location>
+
+    <Location "/static">
+        SetHandler None
+    </Location>
+    Alias /static %ROOT%/%ENV%/%PROJECT%/static
+
+    <Location "/media">
+        SetHandler None
+    </Location>
+    Alias /media %ROOT%/%ENV%/%PROJECT%/media
+
+    ErrorLog /var/log/apache2/%PROJECT%_%ENV%_error.log
+    LogLevel info
+    CustomLog /var/log/apache2/%PROJECT%_%ENV%_access.log combined
+</VirtualHost>
+


subject: update nginx example conf

message: update nginx example conf

stderr:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/pleebe/fuuka4plebs.git/'


subject: add nginx sample config

message: add nginx sample config

repos: syrma-php/web-container-bundle

stderr: error: pathspec 'Resources/doc/sample/nginx.vhost' did not match any file(s) known to git

diff:
--- Resources/doc/sample/nginx.vhost
+++ Resources/doc/sample/nginx.vhost
@@ -0,0 +1,13 @@
+server {
+    server_name [domain];
+    root  [symfony-web-root]
+
+	location / {
+		include proxy_params;
+		proxy_set_header X-Forwarded-Host "$http_host:$server_port";
+        proxy_pass  http://127.0.0.1:9100$request_uri;
+    }
+
+    error_log /var/log/nginx/syrma.log;
+    access_log /var/log/nginx/syrma.log;
+}


subject: adding php-fpm support

message: adding php-fpm support

repos: ynk/vhs

stderr:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/ynk/vhs.git/'


subject: Example configuration for Apache with LDAP authentication

stderr: error: pathspec 'examples/apache2/default.vhost' did not match any file(s) known to git

diff:
--- examples/apache2/default.vhost
+++ examples/apache2/default.vhost
@@ -0,0 +1,33 @@
+WSGIPythonPath /path/to/repo/FuzzManager/server
+<VirtualHost *:80>
+	ServerName fuzzmanager.your.domain
+
+	Alias /static/ /path/to/repo/FuzzManager/server/crashmanager/static/
+	Alias /tests/ /path/to/repo/FuzzManager/server/tests/
+
+	WSGIScriptAlias / /path/to/repo/FuzzManager/server/server/wsgi.py
+	WSGIPassAuthorization On
+
+	<Location />
+		AuthType Basic
+		AuthName "LDAP Login"
+		AuthBasicProvider file ldap
+		AuthUserFile /path/to/.htpasswd
+		# Your LDAP configuration here, including Require directives
+
+		# This user is used by clients to download test cases and signatures
+		Require user fuzzmanager
+	</Location>
+
+	<Location /crashmanager/rest/>
+		Satisfy Any
+		Allow from all
+	</Location>
+
+	<Directory /path/to/repo/FuzzManager/server>
+		<Files wsgi.py>
+			Order deny,allow
+			Allow from all
+		</Files>
+	</Directory>
+</VirtualHost>


subject: add nginx vhost

message: add nginx vhost

diff:
--- nginx.vhost
+++ nginx.vhost
@@ -0,0 +1,17 @@
+server {
+        root /path/to/vhost/public;
+        index index.php index.html index.htm;
+        server_name localhost;
+        client_max_body_size 20M;
+        location / {
+                try_files $uri $uri/ /index.php?$args;
+        }
+
+        location ~ .*.php$ {
+            fastcgi_pass  127.0.0.1:9000;
+            fastcgi_index index.php;
+            include fastcgi_params;
+            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+        }
+
+}


subject: Add example vhost file

message: Add example vhost file

repos: jerram/symfony-preloaded

stderr: error: pathspec 'symfony.vhost' did not match any file(s) known to git

diff:
--- symfony.vhost
+++ symfony.vhost
@@ -0,0 +1,67 @@
+<VirtualHost *:80>
+        ServerName symfony.dev
+        ServerAdmin webmaster@localhost
+        DocumentRoot /var/vhosts/symfony/web
+#        DirectoryIndex app.php
+        <Directory />
+                Options FollowSymLinks
+                AllowOverride None
+        </Directory>
+        <Directory /var/vhosts/symfony/>
+                DirectoryIndex app.php
+                AllowOverride All
+                Order allow,deny
+                Allow from all
+                RewriteEngine On
+                RewriteCond %{REQUEST_FILENAME} !-f
+                RewriteRule ^(.*)$ app.php [QSA,L]
+                RedirectMatch permanent ^/app\.php/(.*) /$1
+                Options FollowSymLinks
+        </Directory>
+
+        ErrorLog ${APACHE_LOG_DIR}/symfony-error.log
+
+        # Possible values include: debug, info, notice, warn, error, crit,
+        # alert, emerg.
+        LogLevel warn
+
+        CustomLog ${APACHE_LOG_DIR}/symfony-access.log combined
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+<VirtualHost *:443>
+        ServerName symfony.dev
+        ServerAdmin webmaster@localhost
+        DocumentRoot /var/vhosts/symfony/web
+        <Directory />
+                Options FollowSymLinks
+                AllowOverride None
+        </Directory>
+        <Directory /var/vhosts/symfony/>
+                Options FollowSymLinks
+                AllowOverride All
+                Order allow,deny
+                allow from all
+        </Directory>
+
+        ErrorLog ${APACHE_LOG_DIR}/symfony-error.log
+
+        # Possible values include: debug, info, notice, warn, error, crit,
+        # alert, emerg.
+        LogLevel warn
+
+        CustomLog ${APACHE_LOG_DIR}/symfony-access.log combined
+
+        SSLEngine on
+        SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
+        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
+
+        BrowserMatch "MSIE [2-6]" \
+                nokeepalive ssl-unclean-shutdown \
+                downgrade-1.0 force-response-1.0
+        # MSIE 7 and newer should be able to use keepalive
+        BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
+
+</VirtualHost>
+</IfModule>
+


subject: Correct servername

message: Correct servername

repos: pluxain/dotfiles

stderr:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/pluxain/dotfiles.git/'


subject: nginx demo config

message:
nginx demo config

closes #2

stderr: error: pathspec 'scripts/fslight.nginx.vhost' did not match any file(s) known to git

diff:
--- scripts/fslight.nginx.vhost
+++ scripts/fslight.nginx.vhost
@@ -0,0 +1,56 @@
+server {
+  listen	 443 ssl;
+
+  server_name YourServerName
+  root /var/www/fslight/www/foodsharing-api/web;
+
+  ssl_certificate PathToCrt.pem
+  ssl_certificate_key PathToKey.pem
+
+  location / {
+# try to serve file directly, fallback to app.php
+    try_files $uri /foodsharing-light$uri /app.php$is_args$args;
+  }
+# PROD
+  location ~ ^/app\.php(/|$) {
+    fastcgi_pass unix:/var/run/php5-fpm-fslight.sock;
+    fastcgi_split_path_info ^(.+\.php)(/.*)$;
+    include fastcgi_params;
+# Prevents URIs that include the front controller. This will 404:
+# http://domain.tld/app.php/some-path
+# Remove the internal directive to allow URIs like this
+    internal;
+  }
+
+  location ^~ /foodsharing/socket/ {
+    include nodejs_proxy_params;
+    access_log off;
+    proxy_pass http://lmr_dev_nodejs/;
+  }
+
+  location = /fs/xhrapp.php {
+    rewrite /fs(.*) $1 break;
+    fastcgi_split_path_info ^(.+?\.php)(/.*)$;
+    if (!-f $document_root$fastcgi_script_name) {
+      return 404;
+    }
+    fastcgi_pass lmr_prod_php;
+    fastcgi_index index.php;
+    include fastcgi_params;
+    alias /var/www/lmr-prod/www;
+  }
+
+  location /fs/images/ {
+    alias /var/www/lmr-prod/www/images/;
+    try_files $uri =404;
+  }
+
+# return 404 for all other php files not matching the front controller
+# this prevents access to other php files you don't want to be accessible.
+  location ~ \.php$ {
+    return 404;
+  }
+
+  error_log /var/www/fslight/log/nginx_error.log;
+  access_log /var/www/fslight/log/nginx_access.log;
+}


subject: updated rewriting rules for apache

message: updated rewriting rules for apache

stderr:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/rossjones/ScraperWikiX.git/'


subject: allow access only from local networks

message: allow access only from local networks

stderr:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/morawskim/puppet-mopensuse.git/'


subject: refine for xtc

message: refine for xtc

stderr: error: pathspec 'images/nginx/xtc.vhost' did not match any file(s) known to git

diff:
--- images/nginx/xtc.vhost
+++ images/nginx/xtc.vhost
@@ -0,0 +1,26 @@
+server {
+  server_name mobile.api.viewspeaker.dog mobile.viewspeaker.dog;
+  root        /var/www/xtc;
+  index       index.php;
+
+  client_max_body_size 100M;
+  fastcgi_read_timeout 1800;
+
+  location / {
+    try_files $uri $uri/ /index.php;
+  }
+
+  location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
+    expires       max;
+    log_not_found off;
+    access_log    off;
+  }
+
+  location ~ \.php$ {
+    try_files     $uri =404;
+    include       fastcgi_params;
+    fastcgi_index index.php;
+    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+    fastcgi_pass  unix:/var/run/php5-fpm.sock;
+  }
+}


subject: N°commit: d9c2d13

message: N°commit: d9c2d13

stderr:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/debruyne0/application-blanche.git/'


subject: add apache vhost

message: add apache vhost

stderr: error: pathspec 'apache.vhost' did not match any file(s) known to git

diff:
--- apache.vhost
+++ apache.vhost
@@ -0,0 +1,26 @@
+<VirtualHost *:80>
+
+        ServerAdmin webmaster@localhost
+        ServerName localhost
+
+        DocumentRoot /path/to/vhost/public/
+        <Directory />
+                Options FollowSymLinks
+                AllowOverride None
+        </Directory>
+        <Directory /path/to/vhost/public/>
+                Options Indexes FollowSymLinks MultiViews
+                AllowOverride None
+                Order allow,deny
+                allow from all
+        </Directory>
+
+        ErrorLog ${APACHE_LOG_DIR}/error.log
+
+        # Possible values include: debug, info, notice, warn, error, crit,
+        # alert, emerg.
+        LogLevel warn
+
+        CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+</VirtualHost>


subject: Add vhost for local luxain.pro under WP

message: Add vhost for local luxain.pro under WP


subject: add support directory and nginx example vhost

stderr: fatal: unable to access 'https://github.com/hggh/cpves.git/': The requested URL returned error: 403


subject: add apache vhost to data folder

message:
add apache vhost to data folder

useful for fresh installation

repos: BillRun/NPG,BillRun/NPG,BillRun/NPG

stderr: error: pathspec 'data/apache.vhost' did not match any file(s) known to git

diff:
--- data/apache.vhost
+++ data/apache.vhost
@@ -0,0 +1,26 @@
+<VirtualHost *:80>
+
+        ServerAdmin webmaster@localhost
+        ServerName localhost
+
+        DocumentRoot /path/to/vhost/public/
+        <Directory />
+                Options FollowSymLinks
+                AllowOverride None
+        </Directory>
+        <Directory /path/to/vhost/public/>
+                Options Indexes FollowSymLinks MultiViews
+                AllowOverride None
+                Order allow,deny
+                allow from all
+        </Directory>
+
+        ErrorLog ${APACHE_LOG_DIR}/error.log
+
+        # Possible values include: debug, info, notice, warn, error, crit,
+        # alert, emerg.
+        LogLevel warn
+
+        CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+</VirtualHost>


subject: Update default.vhost (#45)

message: Update default.vhost (#45)

stderr: fatal: unable to access 'https://github.com/kasperisager/phpstack.git/': The requested URL returned error: 403