serverapps:nextcloud:04.nginx_config
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| serverapps:nextcloud:04.nginx_config [2023/08/07 04:53] – [/usr/local/etc/nginx/nginx.conf] hayashi | serverapps:nextcloud:04.nginx_config [2023/08/26 10:55] (現在) – hayashi | ||
|---|---|---|---|
| 行 7: | 行 7: | ||
| \\ | \\ | ||
| + | ===== rc.conf ===== | ||
| + | |||
| + | / | ||
| + | |||
| + | php_fpm_enable=" | ||
| + | nginx_enable=" | ||
| ===== / | ===== / | ||
| 行 21: | 行 27: | ||
| worker_connections 1024; | worker_connections 1024; | ||
| multi_accept | multi_accept | ||
| - | accept_mutex on; | + | accept_mutex |
| accept_mutex_delay | accept_mutex_delay | ||
| } | } | ||
| 行 47: | 行 53: | ||
| server { | server { | ||
| listen 80; | listen 80; | ||
| - | listen [::]:80; | + | |
| # server_name cloud.example.com; | # server_name cloud.example.com; | ||
| 行 57: | 行 63: | ||
| # Path to the root of your installation | # Path to the root of your installation | ||
| - | root / | + | |
| + | root /usr/local/ | ||
| # HTTP response headers borrowed from Nextcloud `.htaccess` | # HTTP response headers borrowed from Nextcloud `.htaccess` | ||
| 行 187: | 行 194: | ||
| client_body_buffer_size | client_body_buffer_size | ||
| # set max upload size and increase upload timeout: | # set max upload size and increase upload timeout: | ||
| - | client_max_body_size | + | # client_max_body_size |
| + | client_max_body_size | ||
| # client_body_timeout | # client_body_timeout | ||
| client_body_timeout | client_body_timeout | ||
| 行 262: | 行 270: | ||
| </ | </ | ||
| + | |||
| + | ===== 設定チェック ===== | ||
| + | |||
| + | # service nginx configtest | ||
| + | | ||
| + | # nginx -t | ||
serverapps/nextcloud/04.nginx_config.1691384027.txt.gz · 最終更新: by hayashi
