This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream php-fpm { | |
server unix:/run/php-fpm/www.sock; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream php-handler { | |
server unix:/run/php-fpm/www.sock; | |
} | |
server { | |
#listen 443 ssl; | |
listen 80; | |
server_name 192.168.1.8; | |
#ssl_certificate /etc/ssl/nginx/cloud.example.com.crt; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create database nextcloud; | |
create user nextclouduser@localhost identified by 'password'; | |
grant all privileges on nextcloud.* to nextclouduser@localhost identified by 'password'; | |
flush privileges; | |
exit; |