-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a84608
commit 4013b69
Showing
4,606 changed files
with
615 additions
and
157,657 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
web-framework/php/discuz | ||
web-framework/php/ecshop | ||
web-framework/php/metinfo | ||
web-framework/php/typecho | ||
web-framework/php/whatsns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
error_log /tmp/log/nginx/error.log error; | ||
worker_processes auto; | ||
pid /tmp/nginx.pid; | ||
|
||
events { | ||
worker_connections 768; | ||
} | ||
|
||
http { | ||
client_body_temp_path /tmp/var/nginx/body; | ||
fastcgi_temp_path /tmp/var/nginx/fastcgi; | ||
proxy_temp_path /tmp/var/nginx/proxy; | ||
uwsgi_temp_path /tmp/var/nginx/uwsgi; | ||
scgi_temp_path /tmp/var/nginx/scgi; | ||
|
||
sendfile on; | ||
tcp_nopush on; | ||
tcp_nodelay on; | ||
keepalive_timeout 1200; | ||
types_hash_max_size 2048; | ||
|
||
include /etc/nginx/mime.types; | ||
default_type application/octet-stream; | ||
|
||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE | ||
ssl_prefer_server_ciphers on; | ||
|
||
access_log /dev/stdout; | ||
error_log /dev/stderr error; | ||
|
||
gzip on; | ||
gzip_disable "msie6"; | ||
|
||
server { | ||
listen 9000; | ||
server_name localhost; | ||
root /mnt/auto/ecshop; | ||
|
||
add_header X-Frame-Options "SAMEORIGIN"; | ||
add_header X-XSS-Protection "1; mode=block"; | ||
add_header X-Content-Type-Options "nosniff"; | ||
|
||
index index.html index.htm index.php; | ||
|
||
charset utf-8; | ||
|
||
location / { | ||
try_files $uri $uri/ /index.php?$query_string; | ||
} | ||
|
||
location = /favicon.ico { access_log off; log_not_found off; } | ||
location = /robots.txt { access_log off; log_not_found off; } | ||
|
||
error_page 404 /index.php; | ||
|
||
location ~ \.php$ { | ||
fastcgi_pass 127.0.0.1:9527; | ||
fastcgi_index index.php; | ||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | ||
include /etc/nginx/fastcgi_params; | ||
proxy_read_timeout 180; | ||
} | ||
|
||
location ~.*\.(js|css|html|png|jpg|jpeg|gif|gz|svg|mp4|ogg|ogv|webm|htc|xml|woff)$ | ||
{ | ||
expires 1d; | ||
access_log off; | ||
try_files $uri =404; | ||
} | ||
|
||
location ~ /\.(?!well-known).* { | ||
deny all; | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...code/root/etc/php/7.2/fpm/pool.d/www.conf → ...ramework/php/ecshop/src/code/php-fpm.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
[global] | ||
pid = /tmp/php7.4-fpm.pid | ||
error_log = /tmp/php7.4-fpm.log | ||
|
||
[www] | ||
user = www-data | ||
group = www-data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-18.3 KB
web-framework/php/ecshop/src/code/root/bin/systemd-machine-id-setup
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-26.3 KB
web-framework/php/ecshop/src/code/root/bin/systemd-tty-ask-password-agent
Binary file not shown.
32 changes: 0 additions & 32 deletions
32
web-framework/php/ecshop/src/code/root/etc/apache2/conf-available/php7.2-cgi.conf
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
web-framework/php/ecshop/src/code/root/etc/apache2/conf-available/php7.2-fpm.conf
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
web-framework/php/ecshop/src/code/root/etc/dbus-1/system.d/org.freedesktop.hostname1.conf
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
web-framework/php/ecshop/src/code/root/etc/dbus-1/system.d/org.freedesktop.locale1.conf
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.