ドメインをとって2つ目のサイトを作ってみたけど、そんなに記事を書くのはムリでした;;
1サイト10万円の収入として、3サイト運営すれば専業できるかと思ったんですが...
まずは今のサイトをしっかり成長させることを目標にします。
1サイト10万円の収入として、3サイト運営すれば専業できるかと思ったんですが...
まずは今のサイトをしっかり成長させることを目標にします。
server {
(中略)
location /phpMyAdmin {
allow [IPアドレス];
deny all;
alias /usr/share/phpMyAdmin/;
try_files $uri $uri/ /index.php;
location ~ ^/phpMyAdmin(.+\.php)$ {
alias /usr/share/phpMyAdmin$1;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/share/phpMyAdmin$1;
include fastcgi_params;
}
}
}