ユーザ用ツール

サイト用ツール


serverapps:nextcloud:04.nginx_config

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:nextcloud:04.nginx_config [2023/08/07 05:33] – [/usr/local/etc/nginx/conf.d/options] hayashiserverapps:nextcloud:04.nginx_config [2023/08/26 10:55] (現在) hayashi
行 7: 行 7:
 \\ \\
  
 +===== rc.conf =====
 +
 +/etc/rc.confまたは/etc/rc.conf.localに記述
 +
 +  php_fpm_enable="YES"
 +  nginx_enable="YES"
 ===== /usr/local/etc/nginx/nginx.conf ===== ===== /usr/local/etc/nginx/nginx.conf =====
  
行 47: 行 53:
   server {   server {
     listen 80;     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 /var/www/nextcloud;+    #root /var/www/nextcloud; 
 +    root /usr/local/www/nextcloud;
  
     # HTTP response headers borrowed from Nextcloud `.htaccess`     # HTTP response headers borrowed from Nextcloud `.htaccess`
行 263: 行 270:
 </file> </file>
  
 +
 +===== 設定チェック =====
 +
 +   # service nginx configtest
 +   または
 +   # nginx -t
serverapps/nextcloud/04.nginx_config.1691386415.txt.gz · 最終更新: 2023/08/07 05:33 by hayashi