I kept getting
我一直在变
403 Forbidden nginx/1.11.9
403年禁止nginx / 1.11.9
I already run : sudo composer update
我已经运行了:sudo composer更新。
I think I set up proper permissions.
我想我设置了适当的权限。
-rwxrwxrwx 1 root root 149 Feb 24 03:45 .gitignore
-rwxrwxrwx 1 root root 12 Feb 24 03:45 .gitattributes
-rwxrwxrwx 1 root root 146 Feb 24 03:45 CONTRIBUTING.md
drwxrwxrwx 15 root root 4096 Feb 24 03:45 app
-rwxrwxrwx 1 root root 567 Feb 24 03:45 phpunit.xml
drwxrwxrwx 2 root root 4096 Feb 24 03:45 bootstrap
-rwxrwxrwx 1 root root 2452 Feb 24 03:45 artisan
drwxrwxrwx 19 root root 4096 Feb 24 03:45 public
-rwxrwxrwx 1 root root 519 Feb 24 03:45 server.php
-rwxrwxrwx 1 root root 0 Feb 24 03:45 satisfiable
-rwxrwxrwx 1 root root 1599 Feb 24 03:45 readme.md
drwxr-xr-x 5 root root 4096 Feb 24 03:55 ..
-rwxrwxrwx 1 root root 992 Feb 24 14:53 composer.json
-rw-r--r-- 1 root root 116004 Feb 24 14:53 composer.lock
drwxrwxrwx 6 root root 4096 Feb 24 14:53 .
drwxrwxrwx 27 root root 4096 Feb 24 14:53 vendor
What else should I look into ?
我还应该研究什么?
ps aux | grep nginx
我们可以用|。
root 12792 0.0 0.1 148960 1504 ? Ss Feb24 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
forge 12793 0.0 0.4 148960 4840 ? S Feb24 0:00 nginx: worker process
root 26625 0.0 0.1 12952 1032 pts/0 S+ 15:10 0:00 grep --color=auto nginx
2 个解决方案
#1
3
Try the following:
试试以下:
chown -R forge:forge /path/to/web/root
#2
3
I had it as
我有它
root /home/forge/distributor-application/laravel;
根/home/forge/distributor-application / laravel;
I updated it to
我更新它
root /home/forge/distributor-application/laravel/public;
根/home/forge/distributor-application / laravel /公众;
Final look
最后看
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name default;
root /home/forge/distributor-application/laravel/public;
...
}
My site is loading back now.
我的网站现在正在加载。
#1
3
Try the following:
试试以下:
chown -R forge:forge /path/to/web/root
#2
3
I had it as
我有它
root /home/forge/distributor-application/laravel;
根/home/forge/distributor-application / laravel;
I updated it to
我更新它
root /home/forge/distributor-application/laravel/public;
根/home/forge/distributor-application / laravel /公众;
Final look
最后看
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name default;
root /home/forge/distributor-application/laravel/public;
...
}
My site is loading back now.
我的网站现在正在加载。