serverapps:nextcloud:04.nginx_config
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:nextcloud:04.nginx_config [2023/08/07 05:33] – [/usr/local/etc/nginx/conf.d/options] hayashi | serverapps:nextcloud:04.nginx_config [2023/08/26 10:55] (現在) – hayashi | ||
---|---|---|---|
行 7: | 行 7: | ||
\\ | \\ | ||
+ | ===== rc.conf ===== | ||
+ | |||
+ | / | ||
+ | |||
+ | php_fpm_enable=" | ||
+ | nginx_enable=" | ||
===== / | ===== / | ||
行 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` | ||
行 263: | 行 270: | ||
</ | </ | ||
+ | |||
+ | ===== 設定チェック ===== | ||
+ | |||
+ | # service nginx configtest | ||
+ | | ||
+ | # nginx -t |
serverapps/nextcloud/04.nginx_config.1691386415.txt.gz · 最終更新: 2023/08/07 05:33 by hayashi