Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #65 from niiknow/master
Browse files Browse the repository at this point in the history
Merge for build-1.4.4
  • Loading branch information
noogen authored Oct 31, 2018
2 parents 5ce9482 + 2c1324b commit 9598bcc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ services:
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
soft: 20000
hard: 40000
sysctls:
net.core.somaxconn: '511'
labels:
Expand Down
6 changes: 6 additions & 0 deletions docs/php-fpm.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,10 @@ SECRET_KEY = 32AdfjlkksjdfA
```

- - -
`phpfcgi7x` with `default` nginx template - use this if you need to work with .htaccess file. Let say you unzip Laravel into the `/home/{user}/web/{website.example.com}/lara-app` folder, then you want to create a symbolic link to `public_html` folder like so:
```
ln -s lara-app/public public_html
```

- - -

4 changes: 2 additions & 2 deletions rootfs/etc/nginx/nginx.new
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ http {
proxy_cache_path /var/cache/nginx/site levels=1:2 keys_zone=site_diskcached:10m max_size=5g inactive=45m use_temp_path=off;
proxy_cache_path /var/cache/nginx/disk levels=1:2 keys_zone=my_diskcached:50m max_size=7g inactive=7d use_temp_path=off;

proxy_cache_key $host$request_uri;
proxy_cache_key $scheme$host$request_uri;
proxy_temp_path /var/cache/nginx/temp;
proxy_ignore_headers Vary Expires Set-Cookie Cache-Control;
proxy_pass_request_headers on;
underscores_in_headers on;

proxy_cache_min_uses 2;
proxy_cache site_diskcached;
#proxy_cache site_diskcached;
proxy_ssl_server_name on;
proxy_intercept_errors on;

Expand Down

0 comments on commit 9598bcc

Please sign in to comment.