File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed
Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -221,5 +221,6 @@ ISUCON過去問題の環境を「さくらのクラウド」で構築する |
221221
222222## 他の言語実装
223223
224+ * Rust実装 https://github.com/Romira915/private-isu-rust
224225* Python実装 https://github.com/methane/pixiv-isucon2016-python
225226* Scala実装 https://github.com/catatsuy/private-isu/pull/140
Original file line number Diff line number Diff line change 1+ server {
2+ listen 80;
3+
4+ client_max_body_size 10m;
5+ root /public/;
6+
7+ location / {
8+ proxy_set_header Host $host;
9+ proxy_pass http://app:8080;
10+ }
11+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen 80;
3+
4+ client_max_body_size 10m;
5+ root /public;
6+
7+ location / {
8+ try_files $uri /index.php$is_args$args;
9+ }
10+
11+ # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
12+ location ~ \.php {
13+ #fastcgi_split_path_info ^(.+\.php)(/.+)$;
14+ include fastcgi_params;
15+ fastcgi_param SCRIPT_FILENAME /var/www/html/$fastcgi_script_name;
16+ fastcgi_param SCRIPT_NAME $fastcgi_script_name;
17+ fastcgi_index index.php;
18+ fastcgi_pass app:9000;
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments