mirror of
				https://github.com/casjaysdevdocker/stikked
				synced 2025-11-04 07:02:17 -05:00 
			
		
		
		
	🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
		
							
								
								
									
										26
									
								
								rootfs/tmp/etc/nginx/fastcgi_params
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								rootfs/tmp/etc/nginx/fastcgi_params
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
# Params for fastcgi
 | 
			
		||||
fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
 | 
			
		||||
fastcgi_param  QUERY_STRING       $query_string;
 | 
			
		||||
fastcgi_param  REQUEST_METHOD     $request_method;
 | 
			
		||||
fastcgi_param  CONTENT_TYPE       $content_type;
 | 
			
		||||
fastcgi_param  CONTENT_LENGTH     $content_length;
 | 
			
		||||
 | 
			
		||||
fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
 | 
			
		||||
fastcgi_param  REQUEST_URI        $request_uri;
 | 
			
		||||
fastcgi_param  DOCUMENT_URI       $document_uri;
 | 
			
		||||
fastcgi_param  DOCUMENT_ROOT      $document_root;
 | 
			
		||||
fastcgi_param  SERVER_PROTOCOL    $server_protocol;
 | 
			
		||||
fastcgi_param  REQUEST_SCHEME     $scheme;
 | 
			
		||||
fastcgi_param  HTTPS              $https if_not_empty;
 | 
			
		||||
 | 
			
		||||
fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
 | 
			
		||||
fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
 | 
			
		||||
 | 
			
		||||
fastcgi_param  REMOTE_ADDR        $remote_addr;
 | 
			
		||||
fastcgi_param  REMOTE_PORT        $remote_port;
 | 
			
		||||
fastcgi_param  SERVER_ADDR        $server_addr;
 | 
			
		||||
fastcgi_param  SERVER_PORT        $server_port;
 | 
			
		||||
fastcgi_param  SERVER_NAME        $server_name;
 | 
			
		||||
 | 
			
		||||
# PHP only, required if PHP was built with --enable-force-cgi-redirect
 | 
			
		||||
fastcgi_param  REDIRECT_STATUS    200;
 | 
			
		||||
							
								
								
									
										99
									
								
								rootfs/tmp/etc/nginx/mime.types
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										99
									
								
								rootfs/tmp/etc/nginx/mime.types
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,99 @@
 | 
			
		||||
 | 
			
		||||
types {
 | 
			
		||||
    text/html                                        html htm shtml;
 | 
			
		||||
    text/css                                         css;
 | 
			
		||||
    text/xml                                         xml;
 | 
			
		||||
    image/gif                                        gif;
 | 
			
		||||
    image/jpeg                                       jpeg jpg;
 | 
			
		||||
    application/javascript                           js;
 | 
			
		||||
    application/atom+xml                             atom;
 | 
			
		||||
    application/rss+xml                              rss;
 | 
			
		||||
 | 
			
		||||
    text/mathml                                      mml;
 | 
			
		||||
    text/plain                                       txt;
 | 
			
		||||
    text/vnd.sun.j2me.app-descriptor                 jad;
 | 
			
		||||
    text/vnd.wap.wml                                 wml;
 | 
			
		||||
    text/x-component                                 htc;
 | 
			
		||||
 | 
			
		||||
    image/avif                                       avif;
 | 
			
		||||
    image/png                                        png;
 | 
			
		||||
    image/svg+xml                                    svg svgz;
 | 
			
		||||
    image/tiff                                       tif tiff;
 | 
			
		||||
    image/vnd.wap.wbmp                               wbmp;
 | 
			
		||||
    image/webp                                       webp;
 | 
			
		||||
    image/x-icon                                     ico;
 | 
			
		||||
    image/x-jng                                      jng;
 | 
			
		||||
    image/x-ms-bmp                                   bmp;
 | 
			
		||||
 | 
			
		||||
    font/woff                                        woff;
 | 
			
		||||
    font/woff2                                       woff2;
 | 
			
		||||
 | 
			
		||||
    application/java-archive                         jar war ear;
 | 
			
		||||
    application/json                                 json;
 | 
			
		||||
    application/mac-binhex40                         hqx;
 | 
			
		||||
    application/msword                               doc;
 | 
			
		||||
    application/pdf                                  pdf;
 | 
			
		||||
    application/postscript                           ps eps ai;
 | 
			
		||||
    application/rtf                                  rtf;
 | 
			
		||||
    application/vnd.apple.mpegurl                    m3u8;
 | 
			
		||||
    application/vnd.google-earth.kml+xml             kml;
 | 
			
		||||
    application/vnd.google-earth.kmz                 kmz;
 | 
			
		||||
    application/vnd.ms-excel                         xls;
 | 
			
		||||
    application/vnd.ms-fontobject                    eot;
 | 
			
		||||
    application/vnd.ms-powerpoint                    ppt;
 | 
			
		||||
    application/vnd.oasis.opendocument.graphics      odg;
 | 
			
		||||
    application/vnd.oasis.opendocument.presentation  odp;
 | 
			
		||||
    application/vnd.oasis.opendocument.spreadsheet   ods;
 | 
			
		||||
    application/vnd.oasis.opendocument.text          odt;
 | 
			
		||||
    application/vnd.openxmlformats-officedocument.presentationml.presentation
 | 
			
		||||
                                                     pptx;
 | 
			
		||||
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
 | 
			
		||||
                                                     xlsx;
 | 
			
		||||
    application/vnd.openxmlformats-officedocument.wordprocessingml.document
 | 
			
		||||
                                                     docx;
 | 
			
		||||
    application/vnd.wap.wmlc                         wmlc;
 | 
			
		||||
    application/wasm                                 wasm;
 | 
			
		||||
    application/x-7z-compressed                      7z;
 | 
			
		||||
    application/x-cocoa                              cco;
 | 
			
		||||
    application/x-java-archive-diff                  jardiff;
 | 
			
		||||
    application/x-java-jnlp-file                     jnlp;
 | 
			
		||||
    application/x-makeself                           run;
 | 
			
		||||
    application/x-perl                               pl pm;
 | 
			
		||||
    application/x-pilot                              prc pdb;
 | 
			
		||||
    application/x-rar-compressed                     rar;
 | 
			
		||||
    application/x-redhat-package-manager             rpm;
 | 
			
		||||
    application/x-sea                                sea;
 | 
			
		||||
    application/x-shockwave-flash                    swf;
 | 
			
		||||
    application/x-stuffit                            sit;
 | 
			
		||||
    application/x-tcl                                tcl tk;
 | 
			
		||||
    application/x-x509-ca-cert                       der pem crt;
 | 
			
		||||
    application/x-xpinstall                          xpi;
 | 
			
		||||
    application/xhtml+xml                            xhtml;
 | 
			
		||||
    application/xspf+xml                             xspf;
 | 
			
		||||
    application/zip                                  zip;
 | 
			
		||||
 | 
			
		||||
    application/octet-stream                         bin exe dll;
 | 
			
		||||
    application/octet-stream                         deb;
 | 
			
		||||
    application/octet-stream                         dmg;
 | 
			
		||||
    application/octet-stream                         iso img;
 | 
			
		||||
    application/octet-stream                         msi msp msm;
 | 
			
		||||
 | 
			
		||||
    audio/midi                                       mid midi kar;
 | 
			
		||||
    audio/mpeg                                       mp3;
 | 
			
		||||
    audio/ogg                                        ogg;
 | 
			
		||||
    audio/x-m4a                                      m4a;
 | 
			
		||||
    audio/x-realaudio                                ra;
 | 
			
		||||
 | 
			
		||||
    video/3gpp                                       3gpp 3gp;
 | 
			
		||||
    video/mp2t                                       ts;
 | 
			
		||||
    video/mp4                                        mp4;
 | 
			
		||||
    video/mpeg                                       mpeg mpg;
 | 
			
		||||
    video/quicktime                                  mov;
 | 
			
		||||
    video/webm                                       webm;
 | 
			
		||||
    video/x-flv                                      flv;
 | 
			
		||||
    video/x-m4v                                      m4v;
 | 
			
		||||
    video/x-mng                                      mng;
 | 
			
		||||
    video/x-ms-asf                                   asx asf;
 | 
			
		||||
    video/x-ms-wmv                                   wmv;
 | 
			
		||||
    video/x-msvideo                                  avi;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										91
									
								
								rootfs/tmp/etc/nginx/nginx.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										91
									
								
								rootfs/tmp/etc/nginx/nginx.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,91 @@
 | 
			
		||||
# Default nginx configuration docker containers
 | 
			
		||||
 | 
			
		||||
user                                                REPLACE_WWW_USER;
 | 
			
		||||
worker_processes                                    auto;
 | 
			
		||||
daemon                                              on;
 | 
			
		||||
error_log                                           REPLACE_LOG_DIR/nginx.log warn;
 | 
			
		||||
pid                                                 REPLACE_RUN_DIR/nginx.pid;
 | 
			
		||||
events                                              { worker_connections 1024; }
 | 
			
		||||
 | 
			
		||||
http {
 | 
			
		||||
    include                                         REPLACE_ETC_DIR/mime.types;
 | 
			
		||||
    default_type                                    "text/html";
 | 
			
		||||
    sendfile                                        on;
 | 
			
		||||
    keepalive_timeout                               65;
 | 
			
		||||
    gzip                                            on;
 | 
			
		||||
    map                                             $http_upgrade $connection_upgrade { default upgrade; '' close; }
 | 
			
		||||
    disable_symlinks                                off;
 | 
			
		||||
    log_format                                      main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';
 | 
			
		||||
    access_log                                      REPLACE_LOG_DIR/access.log  main;
 | 
			
		||||
 | 
			
		||||
    server {
 | 
			
		||||
        listen                                      0.0.0.0:80 default_server;
 | 
			
		||||
        server_name                                 REPLACE_SERVER_NAME;
 | 
			
		||||
        client_max_body_size                        0;
 | 
			
		||||
        proxy_intercept_errors                      off;
 | 
			
		||||
        add_header X-Frame-Options                  "SAMEORIGIN" always;
 | 
			
		||||
        add_header X-XSS-Protection                 "1; mode=block" always;
 | 
			
		||||
        add_header X-Content-Type-Options           "nosniff" always;
 | 
			
		||||
        add_header Referrer-Policy                  "no-referrer-when-downgrade" always;
 | 
			
		||||
        add_header Content-Security-Policy          "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
 | 
			
		||||
        index                                       index.php index.cgi index.pl index.aspx index.txt index.json index.html index.unknown.php index.default.php;
 | 
			
		||||
        root                                        /var/lib/nginx/html;
 | 
			
		||||
 | 
			
		||||
        location /health {
 | 
			
		||||
            default_type                            text/plain;
 | 
			
		||||
            return 200                              'ok';
 | 
			
		||||
        }
 | 
			
		||||
        location /health/text {
 | 
			
		||||
            default_type                            text/plain;
 | 
			
		||||
            return 200                              'ok';
 | 
			
		||||
        }
 | 
			
		||||
        location /health/json {
 | 
			
		||||
            default_type                            application/json;
 | 
			
		||||
            return 200                              '{"status":"ok","message":"running"}';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        location ~ [^/]\.php(/|$) {
 | 
			
		||||
            fastcgi_split_path_info ^(.+?\.php)(/.*)$;
 | 
			
		||||
            if (!-f $document_root$fastcgi_script_name) {
 | 
			
		||||
                return 404;
 | 
			
		||||
        }
 | 
			
		||||
            fastcgi_param                           HTTP_PROXY "";
 | 
			
		||||
            fastcgi_pass                            127.0.0.1:9000;
 | 
			
		||||
            fastcgi_index                           index.php;
 | 
			
		||||
            fastcgi_param                           QUERY_STRING       $query_string;
 | 
			
		||||
            fastcgi_param                           REQUEST_METHOD     $request_method;
 | 
			
		||||
            fastcgi_param                           CONTENT_TYPE       $content_type;
 | 
			
		||||
            fastcgi_param                           CONTENT_LENGTH     $content_length;
 | 
			
		||||
            fastcgi_param                           SCRIPT_NAME        $fastcgi_script_name;
 | 
			
		||||
            fastcgi_param                           SCRIPT_FILENAME    $document_root$fastcgi_script_name;
 | 
			
		||||
            fastcgi_param                           REQUEST_URI        $request_uri;
 | 
			
		||||
            fastcgi_param                           DOCUMENT_URI       $document_uri;
 | 
			
		||||
            fastcgi_param                           DOCUMENT_ROOT      $document_root;
 | 
			
		||||
            fastcgi_param                           SERVER_PROTOCOL    $server_protocol;
 | 
			
		||||
            fastcgi_param                           REQUEST_SCHEME     $scheme;
 | 
			
		||||
            fastcgi_param                           HTTPS              $https if_not_empty;
 | 
			
		||||
            fastcgi_param                           GATEWAY_INTERFACE  CGI/1.1;
 | 
			
		||||
            fastcgi_param                           SERVER_SOFTWARE    nginx/$nginx_version;
 | 
			
		||||
            fastcgi_param                           REMOTE_ADDR        $remote_addr;
 | 
			
		||||
            fastcgi_param                           REMOTE_PORT        $remote_port;
 | 
			
		||||
            fastcgi_param                           SERVER_ADDR        $server_addr;
 | 
			
		||||
            fastcgi_param                           SERVER_PORT        $server_port;
 | 
			
		||||
            fastcgi_param                           SERVER_NAME        $server_name;
 | 
			
		||||
            fastcgi_param                           REDIRECT_STATUS    200;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        location / {
 | 
			
		||||
            proxy_set_header Host $host;
 | 
			
		||||
            proxy_set_header                        X-Real-IP            $remote_addr;
 | 
			
		||||
            proxy_set_header                        X-Forwarded-For      $proxy_add_x_forwarded_for;
 | 
			
		||||
            proxy_set_header                        X-Forwarded-Proto    $scheme;
 | 
			
		||||
            proxy_http_version                      1.1;
 | 
			
		||||
            proxy_set_header                        Upgrade $http_upgrade;
 | 
			
		||||
            proxy_set_header                        Connection $connection_upgrade;
 | 
			
		||||
            proxy_pass                              http://127.0.0.1:8000/;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        include /etc/nginx/conf.d/*.conf;
 | 
			
		||||
        include /etc/nginx/sites-enabled/*;
 | 
			
		||||
        include /etc/nginx/vhosts.d/*.conf;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										89
									
								
								rootfs/tmp/etc/nginx/nginx.ssl.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								rootfs/tmp/etc/nginx/nginx.ssl.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,89 @@
 | 
			
		||||
# nginx configuration for proxying
 | 
			
		||||
 | 
			
		||||
user                                                REPLACE_WWW_USER;
 | 
			
		||||
worker_processes                                    auto;
 | 
			
		||||
daemon                                              on;
 | 
			
		||||
error_log                                           REPLACE_LOG_DIR/nginx.log warn;
 | 
			
		||||
pid                                                 REPLACE_RUN_DIR/nginx.pid;
 | 
			
		||||
events                                              { worker_connections 1024; }
 | 
			
		||||
 | 
			
		||||
http {
 | 
			
		||||
    include                                         REPLACE_ETC_DIR/mime.types;
 | 
			
		||||
    default_type                                    "text/html";
 | 
			
		||||
    sendfile                                        on;
 | 
			
		||||
    keepalive_timeout                               65;
 | 
			
		||||
    gzip                                            on;
 | 
			
		||||
    map                                             $http_upgrade $connection_upgrade { default upgrade; '' close; }
 | 
			
		||||
    disable_symlinks                                off;
 | 
			
		||||
    log_format                                      main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';
 | 
			
		||||
    access_log                                      REPLACE_LOG_DIR/access.log  main;
 | 
			
		||||
 | 
			
		||||
    server {
 | 
			
		||||
        listen                                      0.0.0.0:80 default_server;
 | 
			
		||||
        server_name                                 REPLACE_SERVER_NAME;
 | 
			
		||||
        client_max_body_size                        0;
 | 
			
		||||
        proxy_intercept_errors                      off;
 | 
			
		||||
        add_header X-Frame-Options                  "SAMEORIGIN" always;
 | 
			
		||||
        add_header X-XSS-Protection                 "1; mode=block" always;
 | 
			
		||||
        add_header X-Content-Type-Options           "nosniff" always;
 | 
			
		||||
        add_header Referrer-Policy                  "no-referrer-when-downgrade" always;
 | 
			
		||||
        add_header Content-Security-Policy          "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
 | 
			
		||||
        index                                       index.php index.cgi index.pl index.aspx index.txt index.json index.html index.unknown.php index.default.php;
 | 
			
		||||
        root                                        /var/lib/nginx/html;
 | 
			
		||||
 | 
			
		||||
        location /health {
 | 
			
		||||
            default_type                            text/plain;
 | 
			
		||||
            return 200                              'ok';
 | 
			
		||||
        }
 | 
			
		||||
        location /health/text {
 | 
			
		||||
            default_type                            text/plain;
 | 
			
		||||
            return 200                              'ok';
 | 
			
		||||
        }
 | 
			
		||||
        location /health/json {
 | 
			
		||||
            default_type                            application/json;
 | 
			
		||||
            return 200                              '{"status":"ok","message":"running"}';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        location ~ [^/]\.php(/|$) {
 | 
			
		||||
            fastcgi_split_path_info ^(.+?\.php)(/.*)$;
 | 
			
		||||
            if (!-f $document_root$fastcgi_script_name)  { return 404; }
 | 
			
		||||
            fastcgi_param                           HTTP_PROXY "";
 | 
			
		||||
            fastcgi_pass                            127.0.0.1:9000;
 | 
			
		||||
            fastcgi_index                           index.php;
 | 
			
		||||
            fastcgi_param                           QUERY_STRING       $query_string;
 | 
			
		||||
            fastcgi_param                           REQUEST_METHOD     $request_method;
 | 
			
		||||
            fastcgi_param                           CONTENT_TYPE       $content_type;
 | 
			
		||||
            fastcgi_param                           CONTENT_LENGTH     $content_length;
 | 
			
		||||
            fastcgi_param                           SCRIPT_NAME        $fastcgi_script_name;
 | 
			
		||||
            fastcgi_param                           SCRIPT_FILENAME    $document_root$fastcgi_script_name;
 | 
			
		||||
            fastcgi_param                           REQUEST_URI        $request_uri;
 | 
			
		||||
            fastcgi_param                           DOCUMENT_URI       $document_uri;
 | 
			
		||||
            fastcgi_param                           DOCUMENT_ROOT      $document_root;
 | 
			
		||||
            fastcgi_param                           SERVER_PROTOCOL    $server_protocol;
 | 
			
		||||
            fastcgi_param                           REQUEST_SCHEME     $scheme;
 | 
			
		||||
            fastcgi_param                           HTTPS              $https if_not_empty;
 | 
			
		||||
            fastcgi_param                           GATEWAY_INTERFACE  CGI/1.1;
 | 
			
		||||
            fastcgi_param                           SERVER_SOFTWARE    nginx/$nginx_version;
 | 
			
		||||
            fastcgi_param                           REMOTE_ADDR        $remote_addr;
 | 
			
		||||
            fastcgi_param                           REMOTE_PORT        $remote_port;
 | 
			
		||||
            fastcgi_param                           SERVER_ADDR        $server_addr;
 | 
			
		||||
            fastcgi_param                           SERVER_PORT        $server_port;
 | 
			
		||||
            fastcgi_param                           SERVER_NAME        $server_name;
 | 
			
		||||
            fastcgi_param                           REDIRECT_STATUS    200;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        location / {
 | 
			
		||||
            proxy_set_header Host $host;
 | 
			
		||||
            proxy_set_header                        X-Real-IP            $remote_addr;
 | 
			
		||||
            proxy_set_header                        X-Forwarded-For      $proxy_add_x_forwarded_for;
 | 
			
		||||
            proxy_set_header                        X-Forwarded-Proto    $scheme;
 | 
			
		||||
            proxy_http_version                      1.1;
 | 
			
		||||
            proxy_set_header                        Upgrade $http_upgrade;
 | 
			
		||||
            proxy_set_header                        Connection $connection_upgrade;
 | 
			
		||||
            proxy_pass                              http://127.0.0.1:8000/;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        include /etc/nginx/conf.d/*.conf;
 | 
			
		||||
        include /etc/nginx/sites-enabled/*;
 | 
			
		||||
        include /etc/nginx/vhosts.d/*.conf;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								rootfs/tmp/etc/nginx/scgi_params
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								rootfs/tmp/etc/nginx/scgi_params
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
# Params for scgi
 | 
			
		||||
scgi_param  REQUEST_METHOD     $request_method;
 | 
			
		||||
scgi_param  REQUEST_URI        $request_uri;
 | 
			
		||||
scgi_param  QUERY_STRING       $query_string;
 | 
			
		||||
scgi_param  CONTENT_TYPE       $content_type;
 | 
			
		||||
 | 
			
		||||
scgi_param  DOCUMENT_URI       $document_uri;
 | 
			
		||||
scgi_param  DOCUMENT_ROOT      $document_root;
 | 
			
		||||
scgi_param  SCGI               1;
 | 
			
		||||
scgi_param  SERVER_PROTOCOL    $server_protocol;
 | 
			
		||||
scgi_param  REQUEST_SCHEME     $scheme;
 | 
			
		||||
scgi_param  HTTPS              $https if_not_empty;
 | 
			
		||||
 | 
			
		||||
scgi_param  REMOTE_ADDR        $remote_addr;
 | 
			
		||||
scgi_param  REMOTE_PORT        $remote_port;
 | 
			
		||||
scgi_param  SERVER_PORT        $server_port;
 | 
			
		||||
scgi_param  SERVER_NAME        $server_name;
 | 
			
		||||
							
								
								
									
										17
									
								
								rootfs/tmp/etc/nginx/uwsgi_params
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								rootfs/tmp/etc/nginx/uwsgi_params
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
# Params for uwsgi
 | 
			
		||||
uwsgi_param  QUERY_STRING       $query_string;
 | 
			
		||||
uwsgi_param  REQUEST_METHOD     $request_method;
 | 
			
		||||
uwsgi_param  CONTENT_TYPE       $content_type;
 | 
			
		||||
uwsgi_param  CONTENT_LENGTH     $content_length;
 | 
			
		||||
 | 
			
		||||
uwsgi_param  REQUEST_URI        $request_uri;
 | 
			
		||||
uwsgi_param  PATH_INFO          $document_uri;
 | 
			
		||||
uwsgi_param  DOCUMENT_ROOT      $document_root;
 | 
			
		||||
uwsgi_param  SERVER_PROTOCOL    $server_protocol;
 | 
			
		||||
uwsgi_param  REQUEST_SCHEME     $scheme;
 | 
			
		||||
uwsgi_param  HTTPS              $https if_not_empty;
 | 
			
		||||
 | 
			
		||||
uwsgi_param  REMOTE_ADDR        $remote_addr;
 | 
			
		||||
uwsgi_param  REMOTE_PORT        $remote_port;
 | 
			
		||||
uwsgi_param  SERVER_PORT        $server_port;
 | 
			
		||||
uwsgi_param  SERVER_NAME        $server_name;
 | 
			
		||||
							
								
								
									
										13
									
								
								rootfs/tmp/etc/nginx/vhosts.d/default.conf.sample
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								rootfs/tmp/etc/nginx/vhosts.d/default.conf.sample
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
    server {
 | 
			
		||||
        listen                               REPLACE_SERVER_PORT default_server;
 | 
			
		||||
        server_name                          REPLACE_SERVER_NAME;
 | 
			
		||||
        root                                 REPLACE_SERVER_WWW_DIR;
 | 
			
		||||
        index                                index.php index.cgi index.pl index.aspx index.txt index.json index.html index.unknown.php index.default.php;
 | 
			
		||||
        proxy_intercept_errors               off;
 | 
			
		||||
        add_header X-Frame-Options           "SAMEORIGIN" always;
 | 
			
		||||
        add_header X-XSS-Protection          "1; mode=block" always;
 | 
			
		||||
        add_header X-Content-Type-Options    "nosniff" always;
 | 
			
		||||
        add_header Referrer-Policy           "no-referrer-when-downgrade" always;
 | 
			
		||||
        add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
 | 
			
		||||
        add_header Content-Security-Policy   "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
 | 
			
		||||
    }
 | 
			
		||||
							
								
								
									
										18
									
								
								rootfs/tmp/etc/nginx/vhosts.d/default.ssl.sample
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								rootfs/tmp/etc/nginx/vhosts.d/default.ssl.sample
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
    server {
 | 
			
		||||
        listen                               ssl http2 REPLACE_SERVER_PORT;
 | 
			
		||||
        server_name                          REPLACE_SERVER_NAME;
 | 
			
		||||
        root                                 REPLACE_SERVER_WWW_DIR;
 | 
			
		||||
        index                                index.php index.cgi index.pl index.aspx awstats.pl index.txt index.json index.html index.unknown.php index.default.php;
 | 
			
		||||
        proxy_intercept_errors               off;
 | 
			
		||||
        add_header X-Frame-Options           "SAMEORIGIN" always;
 | 
			
		||||
        add_header X-XSS-Protection          "1; mode=block" always;
 | 
			
		||||
        add_header X-Content-Type-Options    "nosniff" always;
 | 
			
		||||
        add_header Referrer-Policy           "no-referrer-when-downgrade" always;
 | 
			
		||||
        add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
 | 
			
		||||
        add_header Content-Security-Policy   "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
 | 
			
		||||
        ssl_protocols                        TLSv1.2 TLSv1.3;
 | 
			
		||||
        ssl_ciphers                          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
 | 
			
		||||
        ssl_prefer_server_ciphers            off;
 | 
			
		||||
        ssl_certificate                      REPLACE_SSL_DIR/localhost.crt;
 | 
			
		||||
        ssl_certificate_key                  REPLACE_SSL_DIR/localhost.key;
 | 
			
		||||
    }
 | 
			
		||||
							
								
								
									
										7
									
								
								rootfs/tmp/etc/php-fpm/php-fpm.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								rootfs/tmp/etc/php-fpm/php-fpm.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
;;;;;;;;;;;;;;;;;;;;;
 | 
			
		||||
 | 
			
		||||
pid = /run/php-fpm.pid
 | 
			
		||||
error_log = REPLACE_LOG_DIR/error_log
 | 
			
		||||
daemonize = yes
 | 
			
		||||
 | 
			
		||||
include=/etc/php/php-fpm.d/*.conf
 | 
			
		||||
							
								
								
									
										29
									
								
								rootfs/tmp/etc/php-fpm/php-fpm.d/www.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								rootfs/tmp/etc/php-fpm/php-fpm.d/www.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
[www]
 | 
			
		||||
user = REPLACE_WWW_USER
 | 
			
		||||
group = REPLACE_WWW_GROUP
 | 
			
		||||
listen = 9000
 | 
			
		||||
listen.backlog = 65535
 | 
			
		||||
listen.allowed_clients = 127.0.0.1
 | 
			
		||||
pm = ondemand
 | 
			
		||||
pm.max_children = 50
 | 
			
		||||
pm.start_servers = 5
 | 
			
		||||
pm.min_spare_servers = 5
 | 
			
		||||
pm.max_spare_servers = 35
 | 
			
		||||
pm.status_path = /status
 | 
			
		||||
ping.path = /ping
 | 
			
		||||
ping.response = pong
 | 
			
		||||
access.log = REPLACE_LOG_DIR/access_log
 | 
			
		||||
access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
 | 
			
		||||
slowlog = REPLACE_LOG_DIR/error_log
 | 
			
		||||
clear_env = no
 | 
			
		||||
env[HOSTNAME] = $HOSTNAME
 | 
			
		||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
 | 
			
		||||
env[TMP] = /tmp
 | 
			
		||||
env[TMPDIR] = /tmp
 | 
			
		||||
env[TEMP] = /tmp
 | 
			
		||||
php_flag[display_errors] = off
 | 
			
		||||
php_admin_flag[log_errors] = on
 | 
			
		||||
php_admin_value[post_max_size] = 4096M
 | 
			
		||||
php_admin_value[upload_max_filesize] = 4096M
 | 
			
		||||
php_admin_value[memory_limit] = 2048M
 | 
			
		||||
php_admin_value[error_log] = REPLACE_LOG_DIR/error_log
 | 
			
		||||
							
								
								
									
										347
									
								
								rootfs/tmp/etc/php/php.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										347
									
								
								rootfs/tmp/etc/php/php.ini
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,347 @@
 | 
			
		||||
[PHP]
 | 
			
		||||
user_ini.filename = "php.ini"
 | 
			
		||||
user_ini.filename = ".user.ini"
 | 
			
		||||
user_ini.cache_ttl = 300
 | 
			
		||||
engine = On
 | 
			
		||||
short_open_tag = Off
 | 
			
		||||
asp_tags = Off
 | 
			
		||||
precision = 14
 | 
			
		||||
output_buffering = 4096
 | 
			
		||||
;output_handler =
 | 
			
		||||
zlib.output_compression = Off
 | 
			
		||||
;zlib.output_compression_level = -1
 | 
			
		||||
;zlib.output_handler =
 | 
			
		||||
implicit_flush = Off
 | 
			
		||||
unserialize_callback_func =
 | 
			
		||||
serialize_precision = 17
 | 
			
		||||
;open_basedir =
 | 
			
		||||
disable_functions =
 | 
			
		||||
disable_classes =
 | 
			
		||||
ignore_user_abort = On
 | 
			
		||||
realpath_cache_size = 16k
 | 
			
		||||
realpath_cache_ttl = 120
 | 
			
		||||
zend.enable_gc = On
 | 
			
		||||
zend.multibyte = Off
 | 
			
		||||
zend.script_encoding =
 | 
			
		||||
expose_php = Off
 | 
			
		||||
max_execution_time = 3600
 | 
			
		||||
max_input_time = 3600
 | 
			
		||||
;max_input_nesting_level = 64
 | 
			
		||||
; max_input_vars = 1000
 | 
			
		||||
memory_limit = 10G
 | 
			
		||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
 | 
			
		||||
display_errors = On
 | 
			
		||||
display_startup_errors = Off
 | 
			
		||||
log_errors = On
 | 
			
		||||
log_errors_max_len = 1024
 | 
			
		||||
ignore_repeated_errors = Off
 | 
			
		||||
ignore_repeated_source = Off
 | 
			
		||||
report_memleaks = On
 | 
			
		||||
;report_zend_debug = 0
 | 
			
		||||
track_errors = Off
 | 
			
		||||
;xmlrpc_errors = 0
 | 
			
		||||
;xmlrpc_error_number = 0
 | 
			
		||||
html_errors = On
 | 
			
		||||
;docref_root = "/phpmanual/"
 | 
			
		||||
;docref_ext = .html
 | 
			
		||||
error_prepend_string = "<span style='color: #ff0000'>"
 | 
			
		||||
error_append_string = "</span>"
 | 
			
		||||
error_log = REPLACE_LOG_DIR/php.log
 | 
			
		||||
;arg_separator.input = ";&"
 | 
			
		||||
variables_order = "GPCS"
 | 
			
		||||
request_order = "GP"
 | 
			
		||||
register_argc_argv = Off
 | 
			
		||||
auto_globals_jit = On
 | 
			
		||||
;enable_post_data_reading = Off
 | 
			
		||||
post_max_size = 10G
 | 
			
		||||
auto_prepend_file =
 | 
			
		||||
auto_append_file =
 | 
			
		||||
default_mimetype = "text/html"
 | 
			
		||||
default_charset = "UTF-8"
 | 
			
		||||
;internal_encoding =
 | 
			
		||||
;input_encoding =
 | 
			
		||||
;output_encoding =
 | 
			
		||||
always_populate_raw_post_data = -1
 | 
			
		||||
doc_root =
 | 
			
		||||
user_dir =
 | 
			
		||||
enable_dl = Off
 | 
			
		||||
cgi.force_redirect = 1
 | 
			
		||||
;cgi.nph = 1
 | 
			
		||||
cgi.redirect_status_env =
 | 
			
		||||
cgi.fix_pathinfo = 1
 | 
			
		||||
fastcgi.impersonate = 1
 | 
			
		||||
fastcgi.logging = 1
 | 
			
		||||
;cgi.rfc2616_headers = 0
 | 
			
		||||
file_uploads = On
 | 
			
		||||
upload_tmp_dir = REPLACE_TMP_DIR/uploads
 | 
			
		||||
upload_max_filesize =10G
 | 
			
		||||
max_file_uploads = 20
 | 
			
		||||
allow_url_fopen = On
 | 
			
		||||
allow_url_include = On
 | 
			
		||||
;from="john@doe.com"
 | 
			
		||||
;user_agent="PHP"
 | 
			
		||||
default_socket_timeout = 60
 | 
			
		||||
;auto_detect_line_endings = Off
 | 
			
		||||
 | 
			
		||||
[CLI Server]
 | 
			
		||||
cli_server.color = On
 | 
			
		||||
 | 
			
		||||
[Date]
 | 
			
		||||
date.timezone = REPLACE_TZ
 | 
			
		||||
;date.default_latitude = 31.7667
 | 
			
		||||
;date.default_longitude = 35.2333
 | 
			
		||||
 | 
			
		||||
[filter]
 | 
			
		||||
;filter.default = unsafe_raw
 | 
			
		||||
;filter.default_flags =
 | 
			
		||||
 | 
			
		||||
[iconv]
 | 
			
		||||
;iconv.input_encoding =
 | 
			
		||||
;iconv.internal_encoding =
 | 
			
		||||
;iconv.output_encoding =
 | 
			
		||||
 | 
			
		||||
[intl]
 | 
			
		||||
;intl.default_locale =
 | 
			
		||||
;intl.error_level = E_WARNING
 | 
			
		||||
 | 
			
		||||
[sqlite]
 | 
			
		||||
;sqlite.assoc_case = 0
 | 
			
		||||
 | 
			
		||||
[sqlite3]
 | 
			
		||||
;sqlite3.extension_dir =
 | 
			
		||||
 | 
			
		||||
[Pcre]
 | 
			
		||||
;pcre.backtrack_limit=100000
 | 
			
		||||
;pcre.recursion_limit=100000
 | 
			
		||||
 | 
			
		||||
[Pdo]
 | 
			
		||||
;pdo_odbc.connection_pooling=strict
 | 
			
		||||
;pdo_odbc.db2_instance_name
 | 
			
		||||
 | 
			
		||||
[Pdo_mysql]
 | 
			
		||||
pdo_mysql.cache_size = 2000
 | 
			
		||||
pdo_mysql.default_socket=
 | 
			
		||||
 | 
			
		||||
[Phar]
 | 
			
		||||
;phar.readonly = On
 | 
			
		||||
;phar.require_hash = On
 | 
			
		||||
;phar.cache_list =
 | 
			
		||||
 | 
			
		||||
[mail function]
 | 
			
		||||
sendmail_path = -S localhost -t -i
 | 
			
		||||
;sendmail_path = /usr/sbin/sendmail -t -i
 | 
			
		||||
;mail.force_extra_parameters =
 | 
			
		||||
mail.add_x_header = On
 | 
			
		||||
;mail.log = syslog
 | 
			
		||||
 | 
			
		||||
[SQL]
 | 
			
		||||
sql.safe_mode = Off
 | 
			
		||||
 | 
			
		||||
[ODBC]
 | 
			
		||||
;odbc.default_db    =  Not yet implemented
 | 
			
		||||
;odbc.default_user  =  Not yet implemented
 | 
			
		||||
;odbc.default_pw    =  Not yet implemented
 | 
			
		||||
;odbc.default_cursortype
 | 
			
		||||
odbc.allow_persistent = On
 | 
			
		||||
odbc.check_persistent = On
 | 
			
		||||
odbc.max_persistent = -1
 | 
			
		||||
odbc.max_links = -1
 | 
			
		||||
odbc.defaultlrl = 4096
 | 
			
		||||
odbc.defaultbinmode = 1
 | 
			
		||||
;birdstep.max_links = -1
 | 
			
		||||
 | 
			
		||||
[Interbase]
 | 
			
		||||
ibase.allow_persistent = 1
 | 
			
		||||
ibase.max_persistent = -1
 | 
			
		||||
ibase.max_links = -1
 | 
			
		||||
;ibase.default_db =
 | 
			
		||||
;ibase.default_user =
 | 
			
		||||
;ibase.default_password =
 | 
			
		||||
;ibase.default_charset =
 | 
			
		||||
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
 | 
			
		||||
ibase.dateformat = "%Y-%m-%d"
 | 
			
		||||
ibase.timeformat = "%H:%M:%S"
 | 
			
		||||
 | 
			
		||||
[MySQL]
 | 
			
		||||
mysql.allow_local_infile = On
 | 
			
		||||
mysql.allow_persistent = On
 | 
			
		||||
mysql.cache_size = 2000
 | 
			
		||||
mysql.max_persistent = -1
 | 
			
		||||
mysql.max_links = -1
 | 
			
		||||
mysql.default_port =
 | 
			
		||||
mysql.default_socket =
 | 
			
		||||
mysql.default_host =
 | 
			
		||||
mysql.default_user =
 | 
			
		||||
mysql.default_password =
 | 
			
		||||
mysql.connect_timeout = 60
 | 
			
		||||
mysql.trace_mode = Off
 | 
			
		||||
 | 
			
		||||
[MySQLi]
 | 
			
		||||
mysqli.max_persistent = -1
 | 
			
		||||
mysqli.allow_local_infile = On
 | 
			
		||||
mysqli.allow_persistent = On
 | 
			
		||||
mysqli.max_links = -1
 | 
			
		||||
mysqli.cache_size = 2000
 | 
			
		||||
mysqli.default_port = 3306
 | 
			
		||||
mysqli.default_socket =
 | 
			
		||||
mysqli.default_host =
 | 
			
		||||
mysqli.default_user =
 | 
			
		||||
mysqli.default_pw =
 | 
			
		||||
mysqli.reconnect = Off
 | 
			
		||||
 | 
			
		||||
[mysqlnd]
 | 
			
		||||
mysqlnd.collect_statistics = On
 | 
			
		||||
mysqlnd.collect_memory_statistics = Off
 | 
			
		||||
;mysqlnd.net_cmd_buffer_size = 2048
 | 
			
		||||
;mysqlnd.net_read_buffer_size = 32768
 | 
			
		||||
 | 
			
		||||
[OCI8]
 | 
			
		||||
;oci8.privileged_connect = Off
 | 
			
		||||
;oci8.max_persistent = -1
 | 
			
		||||
;oci8.persistent_timeout = -1
 | 
			
		||||
;oci8.ping_interval = 60
 | 
			
		||||
;oci8.connection_class =
 | 
			
		||||
;oci8.events = Off
 | 
			
		||||
;oci8.statement_cache_size = 20
 | 
			
		||||
;oci8.default_prefetch = 100
 | 
			
		||||
;oci8.old_oci_close_semantics = Off
 | 
			
		||||
 | 
			
		||||
[PostgreSQL]
 | 
			
		||||
pgsql.allow_persistent = On
 | 
			
		||||
pgsql.auto_reset_persistent = Off
 | 
			
		||||
pgsql.max_persistent = -1
 | 
			
		||||
pgsql.max_links = -1
 | 
			
		||||
pgsql.ignore_notice = 0
 | 
			
		||||
pgsql.log_notice = 0
 | 
			
		||||
 | 
			
		||||
[Sybase-CT]
 | 
			
		||||
sybct.allow_persistent = On
 | 
			
		||||
sybct.max_persistent = -1
 | 
			
		||||
sybct.max_links = -1
 | 
			
		||||
sybct.min_server_severity = 10
 | 
			
		||||
sybct.min_client_severity = 10
 | 
			
		||||
;sybct.timeout=
 | 
			
		||||
;sybct.packet_size
 | 
			
		||||
;sybct.login_timeout=
 | 
			
		||||
;sybct.hostname=
 | 
			
		||||
;sybct.deadlock_retry_count=
 | 
			
		||||
 | 
			
		||||
[bcmath]
 | 
			
		||||
bcmath.scale = 0
 | 
			
		||||
 | 
			
		||||
[browscap]
 | 
			
		||||
;browscap = extra/browscap.ini
 | 
			
		||||
 | 
			
		||||
[Session]
 | 
			
		||||
session.save_handler = files
 | 
			
		||||
session.save_path = "REPLACE_TMP_DIR/seesions"
 | 
			
		||||
session.use_strict_mode = 0
 | 
			
		||||
session.use_cookies = 1
 | 
			
		||||
;session.cookie_secure =
 | 
			
		||||
session.use_only_cookies = 1
 | 
			
		||||
session.name = PHP_REPLACE_RANDOM_ID
 | 
			
		||||
session.auto_start = 0
 | 
			
		||||
session.cookie_lifetime = 525600
 | 
			
		||||
session.cookie_path = /
 | 
			
		||||
session.cookie_domain =
 | 
			
		||||
session.cookie_httponly =
 | 
			
		||||
session.serialize_handler = php
 | 
			
		||||
session.gc_probability = 1
 | 
			
		||||
session.gc_divisor = 1000
 | 
			
		||||
session.gc_maxlifetime = 525600
 | 
			
		||||
session.referer_check =
 | 
			
		||||
;session.entropy_length = 32
 | 
			
		||||
;session.entropy_file = /dev/urandom
 | 
			
		||||
session.cache_limiter = nocache
 | 
			
		||||
session.cache_expire = 180
 | 
			
		||||
session.use_trans_sid = 0
 | 
			
		||||
session.hash_function = 0
 | 
			
		||||
session.hash_bits_per_character = 5
 | 
			
		||||
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
 | 
			
		||||
session.upload_progress.enabled = On
 | 
			
		||||
session.upload_progress.cleanup = On
 | 
			
		||||
session.upload_progress.prefix = "upload_progress_"
 | 
			
		||||
session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
 | 
			
		||||
session.upload_progress.freq =  "1%"
 | 
			
		||||
session.upload_progress.min_freq = "1"
 | 
			
		||||
 | 
			
		||||
[MSSQL]
 | 
			
		||||
mssql.allow_persistent = On
 | 
			
		||||
mssql.max_persistent = -1
 | 
			
		||||
mssql.max_links = -1
 | 
			
		||||
mssql.min_error_severity = 10
 | 
			
		||||
mssql.min_message_severity = 10
 | 
			
		||||
mssql.compatibility_mode = Off
 | 
			
		||||
;mssql.connect_timeout = 5
 | 
			
		||||
;mssql.timeout = 60
 | 
			
		||||
;mssql.textlimit = 4096
 | 
			
		||||
;mssql.textsize = 4096
 | 
			
		||||
;mssql.batchsize = 0
 | 
			
		||||
;mssql.datetimeconvert = On
 | 
			
		||||
mssql.secure_connection = Off
 | 
			
		||||
;mssql.max_procs = -1
 | 
			
		||||
;mssql.charset = "ISO-8859-1"
 | 
			
		||||
 | 
			
		||||
[Assertion]
 | 
			
		||||
;assert.active = On
 | 
			
		||||
;assert.warning = On
 | 
			
		||||
;assert.bail = Off
 | 
			
		||||
;assert.callback = 0
 | 
			
		||||
;assert.quiet_eval = 0
 | 
			
		||||
 | 
			
		||||
[mbstring]
 | 
			
		||||
;mbstring.language = Japanese
 | 
			
		||||
;mbstring.internal_encoding =
 | 
			
		||||
;mbstring.http_input =
 | 
			
		||||
;mbstring.http_output =
 | 
			
		||||
;mbstring.encoding_translation = Off
 | 
			
		||||
;mbstring.detect_order = auto
 | 
			
		||||
;mbstring.substitute_character = none
 | 
			
		||||
;mbstring.func_overload = 0
 | 
			
		||||
;mbstring.strict_detection = On
 | 
			
		||||
;mbstring.http_output_conv_mimetype=
 | 
			
		||||
 | 
			
		||||
[gd]
 | 
			
		||||
;gd.jpeg_ignore_warning = 0
 | 
			
		||||
 | 
			
		||||
[exif]
 | 
			
		||||
;exif.encode_unicode = ISO-8859-15
 | 
			
		||||
;exif.decode_unicode_motorola = UCS-2BE
 | 
			
		||||
;exif.decode_unicode_intel    = UCS-2LE
 | 
			
		||||
;exif.encode_jis =
 | 
			
		||||
;exif.decode_jis_motorola = JIS
 | 
			
		||||
;exif.decode_jis_intel    = JIS
 | 
			
		||||
 | 
			
		||||
[Tidy]
 | 
			
		||||
;tidy.default_config = /usr/local/lib/php/default.tcfg
 | 
			
		||||
tidy.clean_output = Off
 | 
			
		||||
 | 
			
		||||
[soap]
 | 
			
		||||
soap.wsdl_cache_enabled=1
 | 
			
		||||
soap.wsdl_cache_dir="REPLACE_TMP_DIR/cache"
 | 
			
		||||
soap.wsdl_cache_ttl=86400
 | 
			
		||||
soap.wsdl_cache_limit = 5
 | 
			
		||||
 | 
			
		||||
[sysvshm]
 | 
			
		||||
;sysvshm.init_mem = 10000
 | 
			
		||||
 | 
			
		||||
[ldap]
 | 
			
		||||
ldap.max_links = -1
 | 
			
		||||
 | 
			
		||||
[mcrypt]
 | 
			
		||||
;mcrypt.algorithms_dir=
 | 
			
		||||
;mcrypt.modes_dir=
 | 
			
		||||
 | 
			
		||||
[dba]
 | 
			
		||||
;dba.default_handler=
 | 
			
		||||
 | 
			
		||||
[curl]
 | 
			
		||||
;curl.cainfo =
 | 
			
		||||
 | 
			
		||||
[openssl]
 | 
			
		||||
;openssl.cafile=
 | 
			
		||||
;openssl.capath=
 | 
			
		||||
 | 
			
		||||
; Local Variables:
 | 
			
		||||
; tab-width: 4
 | 
			
		||||
; End:
 | 
			
		||||
							
								
								
									
										297
									
								
								rootfs/tmp/etc/stikked/config.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										297
									
								
								rootfs/tmp/etc/stikked/config.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,297 @@
 | 
			
		||||
<?php if (!defined('BASEPATH')) {
 | 
			
		||||
  exit('No direct script access allowed');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$config['site_name'] = 'REPLACE_STIKKED_SITE_NAME';
 | 
			
		||||
$config['base_url'] = 'REPLACE_SERVER_PROTO://REPLACE_SERVER_NAME/';
 | 
			
		||||
 | 
			
		||||
$config['db_driver'] = 'sqlite';    # sqlite
 | 
			
		||||
$config['db_database'] = 'REPLACE_DATABASE_DIR'; #/var/lib/httpd/stikked/data.db
 | 
			
		||||
$config['db_hostname'] = 'localhost';
 | 
			
		||||
$config['db_username'] = 'root';
 | 
			
		||||
$config['db_password'] = 'DATABASE_PASS_ROOT';
 | 
			
		||||
$config['db_prefix'] = '';
 | 
			
		||||
 | 
			
		||||
//Currently: default, bootstrap, gabdark, gabdark3, geocities, snowkat, stikkedizr, cleanwhite, i386
 | 
			
		||||
$config['theme'] = 'default';
 | 
			
		||||
$config['qr_enabled'] = true;
 | 
			
		||||
$config['js_editor'] = 'ACE'; // codemirror, ace, ''
 | 
			
		||||
$config['language'] = 'english';
 | 
			
		||||
$config['combine_assets'] = true;
 | 
			
		||||
$config['content_expiration'] = '-1 week';
 | 
			
		||||
$config['cron_key'] = 'REPLACE_STIKKED_CRON_KEY';
 | 
			
		||||
$config['url_shortening_use'] = 'off';
 | 
			
		||||
$config['random_url_engines'] = 'googl,bitly'; // Used only in random mode, read comment above for more info
 | 
			
		||||
$config['yourls_url'] = '';
 | 
			
		||||
$config['yourls_signature'] = '';
 | 
			
		||||
$config['gwgd_url'] = '';
 | 
			
		||||
$config['shorturl_selected'] = false;
 | 
			
		||||
$config['googl_url_api'] = '';
 | 
			
		||||
$config['bitly_url_api'] = '';
 | 
			
		||||
$config['polr_url'] = '';
 | 
			
		||||
$config['polr_api'] = '';
 | 
			
		||||
$config['backup_user'] = 'root';
 | 
			
		||||
$config['backup_pass'] = 'REPLACE_STIKKED_ADMIN_PASS';
 | 
			
		||||
$config['per_page'] = 15;
 | 
			
		||||
$config['apikey'] = '';
 | 
			
		||||
$config['soft_api'] = false;
 | 
			
		||||
$config['private_only'] = false;
 | 
			
		||||
$config['enable_captcha'] = true;
 | 
			
		||||
$config['recaptcha_publickey'] = '';
 | 
			
		||||
$config['recaptcha_privatekey'] = '';
 | 
			
		||||
$config['disable_api'] = false;
 | 
			
		||||
$config['disable_keep_forever'] = false;
 | 
			
		||||
$config['blocked_words'] = '';
 | 
			
		||||
$config['disable_shorturl'] = false;
 | 
			
		||||
$config['disallow_search_engines'] = false;
 | 
			
		||||
$config['spamadmin_user'] = 'root';
 | 
			
		||||
$config['spamadmin_pass'] = 'REPLACE_STIKKED_ADMIN_PASS';
 | 
			
		||||
$config['default_expiration'] = 0;
 | 
			
		||||
$config['default_language'] = 'text';
 | 
			
		||||
$config['unknown_poster'] = 'Anonymous';
 | 
			
		||||
$config['unknown_title'] = 'New Paste';
 | 
			
		||||
$config['require_auth'] = false;
 | 
			
		||||
$config['displayurl_override'] = '';
 | 
			
		||||
$config['nouns'] = array(
 | 
			
		||||
  'Hornbill',
 | 
			
		||||
  'Elephant',
 | 
			
		||||
  'Bison',
 | 
			
		||||
  'Lion',
 | 
			
		||||
  'Camel',
 | 
			
		||||
  'Sheep',
 | 
			
		||||
  'Monkey',
 | 
			
		||||
  'Prairie Dog',
 | 
			
		||||
  'Plover',
 | 
			
		||||
  'Tapir',
 | 
			
		||||
  'Capybara',
 | 
			
		||||
  'Cheetah',
 | 
			
		||||
  'Flamingo',
 | 
			
		||||
  'Peccary',
 | 
			
		||||
  'Eider',
 | 
			
		||||
  'Porcupine',
 | 
			
		||||
  'Pelican',
 | 
			
		||||
  'Dove',
 | 
			
		||||
  'Crane',
 | 
			
		||||
  'Tortoise',
 | 
			
		||||
  'Agouti',
 | 
			
		||||
  'Tamarin',
 | 
			
		||||
  'Pheasant',
 | 
			
		||||
  'Owl',
 | 
			
		||||
  'Gibbon',
 | 
			
		||||
  'Goose',
 | 
			
		||||
  'Baboon',
 | 
			
		||||
  'Hamerkop',
 | 
			
		||||
  'Zebra',
 | 
			
		||||
  'Macaw',
 | 
			
		||||
  'Gibbon',
 | 
			
		||||
  'Madrill',
 | 
			
		||||
  'Wolf',
 | 
			
		||||
  'Stork',
 | 
			
		||||
  'Armadillo',
 | 
			
		||||
  'Ostrich',
 | 
			
		||||
  'Marmoset',
 | 
			
		||||
  'Lizard',
 | 
			
		||||
  'Panda',
 | 
			
		||||
  'Giraffe',
 | 
			
		||||
  'Cassowary',
 | 
			
		||||
  'Kangaroo',
 | 
			
		||||
  'Gorilla',
 | 
			
		||||
  'Pheasant',
 | 
			
		||||
  'Finch',
 | 
			
		||||
  'Duck',
 | 
			
		||||
  'Matamata',
 | 
			
		||||
  'Teal',
 | 
			
		||||
  'Macaque',
 | 
			
		||||
  'Goat',
 | 
			
		||||
  'Lechwe',
 | 
			
		||||
  'Ibis',
 | 
			
		||||
  'Parrot',
 | 
			
		||||
  'Parakeet',
 | 
			
		||||
  'Bongo',
 | 
			
		||||
  'Pudu',
 | 
			
		||||
  'Echidna',
 | 
			
		||||
  'Lemur',
 | 
			
		||||
  'Bat',
 | 
			
		||||
  'Curlew',
 | 
			
		||||
  'Terrapin',
 | 
			
		||||
  'Peafowl',
 | 
			
		||||
  'Duck',
 | 
			
		||||
  'Owl',
 | 
			
		||||
  'Parakeet',
 | 
			
		||||
  'Meerkat',
 | 
			
		||||
  'Tern',
 | 
			
		||||
  'Wigeon',
 | 
			
		||||
  'Pintail',
 | 
			
		||||
  'Meerkat',
 | 
			
		||||
  'Motmot',
 | 
			
		||||
  'Motmot',
 | 
			
		||||
  'Shama',
 | 
			
		||||
  'Dormouse',
 | 
			
		||||
  'Horse',
 | 
			
		||||
  'Rhinoceros',
 | 
			
		||||
  'Sloth',
 | 
			
		||||
  'Mousedeer',
 | 
			
		||||
  'Treeshrew',
 | 
			
		||||
  'Bushbaby',
 | 
			
		||||
  'Guinea Pig',
 | 
			
		||||
  'Agouti',
 | 
			
		||||
  'Water Vole',
 | 
			
		||||
  'Hog',
 | 
			
		||||
  'Pig',
 | 
			
		||||
  'Anoa',
 | 
			
		||||
  'Octupus',
 | 
			
		||||
  'Butterfly',
 | 
			
		||||
  'Cat',
 | 
			
		||||
  'Kitten',
 | 
			
		||||
  'Coyote',
 | 
			
		||||
  'Crocodile',
 | 
			
		||||
  'Cockroach',
 | 
			
		||||
  'Crow',
 | 
			
		||||
  'Bird',
 | 
			
		||||
  'Dolphin',
 | 
			
		||||
  'Earthworm',
 | 
			
		||||
  'Frog',
 | 
			
		||||
  'Hamster',
 | 
			
		||||
  'Hedgehog',
 | 
			
		||||
  'Hog',
 | 
			
		||||
  'Human',
 | 
			
		||||
  'Hummingbird',
 | 
			
		||||
  'Iguana',
 | 
			
		||||
  'Leech',
 | 
			
		||||
  'Leopard',
 | 
			
		||||
  ' Marten',
 | 
			
		||||
  'Mockingbird',
 | 
			
		||||
  'Mockingjay',
 | 
			
		||||
  'Mosquito',
 | 
			
		||||
  'Moth',
 | 
			
		||||
  'Partdridge',
 | 
			
		||||
  'Bee',
 | 
			
		||||
  'Penguin'
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
$config['adjectives'] = array(
 | 
			
		||||
  'Ample',
 | 
			
		||||
  'Mature',
 | 
			
		||||
  'Bulky',
 | 
			
		||||
  'Burly',
 | 
			
		||||
  'Capacious',
 | 
			
		||||
  'Colossal',
 | 
			
		||||
  'Commodious',
 | 
			
		||||
  'Thundering',
 | 
			
		||||
  'Mammoth',
 | 
			
		||||
  'Mungo',
 | 
			
		||||
  'Voluminous',
 | 
			
		||||
  'Walloping',
 | 
			
		||||
  'Tiny',
 | 
			
		||||
  'Baby',
 | 
			
		||||
  'Bitty',
 | 
			
		||||
  'Diminutive',
 | 
			
		||||
  'Little',
 | 
			
		||||
  'Paltry',
 | 
			
		||||
  'Scanty',
 | 
			
		||||
  'Trivial',
 | 
			
		||||
  'Scribby',
 | 
			
		||||
  'Blush',
 | 
			
		||||
  'Tinct',
 | 
			
		||||
  'Colorant',
 | 
			
		||||
  'Aqua',
 | 
			
		||||
  'Beige',
 | 
			
		||||
  'Bistre',
 | 
			
		||||
  'Buff',
 | 
			
		||||
  'Bistre',
 | 
			
		||||
  'Chartreuse',
 | 
			
		||||
  'Chocolate',
 | 
			
		||||
  'Cobalt',
 | 
			
		||||
  'Coral',
 | 
			
		||||
  'Cream',
 | 
			
		||||
  'Crimson',
 | 
			
		||||
  'Denim',
 | 
			
		||||
  'Emerald',
 | 
			
		||||
  'Gray',
 | 
			
		||||
  'Gamboge',
 | 
			
		||||
  'Ivory',
 | 
			
		||||
  'Mustard',
 | 
			
		||||
  'Silly',
 | 
			
		||||
  'Perl',
 | 
			
		||||
  'Whipped',
 | 
			
		||||
  'Violet',
 | 
			
		||||
  'Harmless',
 | 
			
		||||
  'Gentle',
 | 
			
		||||
  'Innocent',
 | 
			
		||||
  'Reliable',
 | 
			
		||||
  'Unreliable',
 | 
			
		||||
  'Soft',
 | 
			
		||||
  'Toxic',
 | 
			
		||||
  'Anorexic',
 | 
			
		||||
  'Beefy',
 | 
			
		||||
  'Sexy',
 | 
			
		||||
  'Morose',
 | 
			
		||||
  'Rude',
 | 
			
		||||
  'Ungracious',
 | 
			
		||||
  'Abrupt',
 | 
			
		||||
  'Gracious',
 | 
			
		||||
  'Queen',
 | 
			
		||||
  'Cute',
 | 
			
		||||
  'Edgy',
 | 
			
		||||
  'Insensitive',
 | 
			
		||||
  'Round',
 | 
			
		||||
  'Sharp',
 | 
			
		||||
  'Gruff',
 | 
			
		||||
  'Subtle',
 | 
			
		||||
  'Crippled',
 | 
			
		||||
  'Eratic',
 | 
			
		||||
  'Social',
 | 
			
		||||
  'Jittery',
 | 
			
		||||
  'Sole',
 | 
			
		||||
  'Unique',
 | 
			
		||||
  'Botched',
 | 
			
		||||
  'Tacky',
 | 
			
		||||
  'Sludgy',
 | 
			
		||||
  'Stained',
 | 
			
		||||
  'Wet',
 | 
			
		||||
  'Soiled',
 | 
			
		||||
  'Big',
 | 
			
		||||
  'Small',
 | 
			
		||||
  'Sloppy',
 | 
			
		||||
  'Smelly',
 | 
			
		||||
  'Funky',
 | 
			
		||||
  'Putrid',
 | 
			
		||||
  'Melodic',
 | 
			
		||||
  'Corrupt',
 | 
			
		||||
  'Lousy',
 | 
			
		||||
  'Fiery',
 | 
			
		||||
  'Red',
 | 
			
		||||
  'Sweet',
 | 
			
		||||
  'Hot',
 | 
			
		||||
  'Scorching',
 | 
			
		||||
  'Sweltering',
 | 
			
		||||
  'Torrid',
 | 
			
		||||
  'Obese',
 | 
			
		||||
  'Speedy',
 | 
			
		||||
  'Flying',
 | 
			
		||||
  'Idiotic',
 | 
			
		||||
  'Chunky',
 | 
			
		||||
  'Forensic'
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
$config['expires'] = array(
 | 
			
		||||
  'expire',
 | 
			
		||||
  'perish',
 | 
			
		||||
  'go to its last resting place',
 | 
			
		||||
  'go to meet its maker',
 | 
			
		||||
  'cross the great divide',
 | 
			
		||||
  'slip away',
 | 
			
		||||
  'give up the ghost',
 | 
			
		||||
  'kick the bucket',
 | 
			
		||||
  'croak',
 | 
			
		||||
  'bite the big one',
 | 
			
		||||
  'check out',
 | 
			
		||||
  'buy the farm',
 | 
			
		||||
  'join the choir invisible',
 | 
			
		||||
  'shuffle off the mortal coil',
 | 
			
		||||
  'hop the perch',
 | 
			
		||||
  'run down the curtain',
 | 
			
		||||
  'die',
 | 
			
		||||
  'self destruct',
 | 
			
		||||
  'explode'
 | 
			
		||||
);
 | 
			
		||||
		Reference in New Issue
	
	Block a user