{"commit":"b879e117963635056adf1d2029e3d4e6d44eede4","old_file":"sites\/default.vhost","new_file":"sites\/default.vhost","old_contents":"server {\n server_name default;\n root \/var\/www\/public;\n index main.php;\n\n client_max_body_size 100M;\n fastcgi_read_timeout 1800;\n\n location \/ {\n try_files $uri $uri\/ \/index.php$is_args$args;\n }\n\n location \/status {\n access_log off;\n allow 172.17.0.0\/16;\n deny all;\n include \/etc\/nginx\/fastcgi_params;\n fastcgi_param SCRIPT_FILENAME \/status;\n fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\n }\n\n location \/ping {\n access_log off;\n allow all;\n include fastcgi_params;\n fastcgi_param SCRIPT_FILENAME \/ping;\n fastcgi_pass unix:\/Var\/run\/php5-fpm.sock;\n }\n\n location ~* \\.(js|css|png|jpg|jpeg|gif|ico)$ {\n expires max;\n log_not_found off;\n access_log off;\n }\n\n location ~ \\.php$ {\n try_files $uri =404;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\n }\n}\n","new_contents":"server {\n server_name default;\n root \/var\/www\/public;\n index main.php;\n\n client_max_body_size 100M;\n fastcgi_read_timeout 1800;\n\n location \/ {\n try_files $uri $uri.html $uri\/ @extensionless-php;\n }\n\n location @extensionless-php {\n rewrite ^(.*)$ $1.php last;\n }\n\n location \/status {\n access_log off;\n allow 172.17.0.0\/16;\n deny all;\n include \/etc\/nginx\/fastcgi_params;\n fastcgi_param SCRIPT_FILENAME \/status;\n fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\n }\n\n location \/ping {\n access_log off;\n allow all;\n include fastcgi_params;\n fastcgi_param SCRIPT_FILENAME \/ping;\n fastcgi_pass unix:\/Var\/run\/php5-fpm.sock;\n }\n\n location ~* \\.(js|css|png|jpg|jpeg|gif|ico)$ {\n expires max;\n log_not_found off;\n access_log off;\n }\n\n location ~ \\.php$ {\n try_files $uri =404;\n include fastcgi_params;\n fastcgi_index index.php;\n fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n fastcgi_pass unix:\/var\/run\/php5-fpm.sock;\n }\n}\n","subject":"Remove .php extensions from url","message":"Remove .php extensions from url","lang":"ApacheConf","license":"mit","repos":"hector-valdivia\/docker-php-mongodb-mysql-nginx"} {"commit":"ce95cbae420b99535cdc20c267ab3af809841a3e","old_file":"examples\/apache2\/default.vhost","new_file":"examples\/apache2\/default.vhost","old_contents":"WSGIPythonPath \/path\/to\/repo\/FuzzManager\/server\n\n\tServerName fuzzmanager.your.domain\n\n\tAlias \/static\/ \/path\/to\/repo\/FuzzManager\/server\/crashmanager\/static\/\n\tAlias \/tests\/ \/path\/to\/repo\/FuzzManager\/server\/tests\/\n\n\tWSGIScriptAlias \/ \/path\/to\/repo\/FuzzManager\/server\/server\/wsgi.py\n\tWSGIPassAuthorization On\n\n\t\n\t\tAuthType Basic\n\t\tAuthName \"LDAP Login\"\n\t\tAuthBasicProvider file ldap\n\t\tAuthUserFile \/path\/to\/.htpasswd\n\t\t# Your LDAP configuration here, including Require directives\n\n\t\t# This user is used by clients to download test cases and signatures\n\t\tRequire user fuzzmanager\n\t<\/Location>\n\n\t\n\t\tSatisfy Any\n\t\tAllow from all\n\t<\/Location>\n\t\n\t\n\t\t\n\t\t\tOrder deny,allow\n\t\t\tAllow from all\n\t\t<\/Files>\n\t<\/Directory>\n<\/VirtualHost>\n","new_contents":"WSGIDaemonProcess fuzzmanager.your.domain python-path=\/path\/to\/repo\/FuzzManager\/server\nWSGIProcessGroup fuzzmanager.your.domain\nWSGIApplicationGroup %{GLOBAL}\n\n\n\tServerName fuzzmanager.your.domain\n\n\tAlias \/static\/ \/path\/to\/repo\/FuzzManager\/server\/crashmanager\/static\/\n\tAlias \/tests\/ \/path\/to\/repo\/FuzzManager\/server\/tests\/\n\n\tWSGIScriptAlias \/ \/path\/to\/repo\/FuzzManager\/server\/server\/wsgi.py process-group=fuzzmanager.your.domain\n\tWSGIPassAuthorization On\n\n\t\n\t\tAuthType Basic\n\t\tAuthName \"LDAP Login\"\n\t\tAuthBasicProvider file ldap\n\t\tAuthUserFile \/path\/to\/.htpasswd\n\t\t# Your LDAP configuration here, including Require directives\n\n\t\t# This user is used by clients to download test cases and signatures\n\t\tRequire user fuzzmanager\n\t<\/Location>\n\n\t\n\t\tSatisfy Any\n\t\tAllow from all\n\t<\/Location>\n\n\t\n\t\tSatisfy Any\n\t\tAllow from all\n\t<\/Location>\n\t\n\t\n\t\t\n\t\t\tOrder deny,allow\n\t\t\tAllow from all\n\t\t<\/Files>\n\t<\/Directory>\n<\/VirtualHost>\n","subject":"Update example vhost file for Apache2","message":"Update example vhost file for Apache2\n","lang":"ApacheConf","license":"mpl-2.0","repos":"MozillaSecurity\/FuzzManager,MozillaSecurity\/FuzzManager,MozillaSecurity\/FuzzManager,MozillaSecurity\/FuzzManager"}