meowmoriaoi

Nginx command and setup

Aug 4th, 2020 (edited)
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. 1. Site Location
  2. ==================
  3.  
  4. > Single site: /usr/share/nginx/html
  5. > Multiple site: /var/www
  6.  
  7. ================================================
  8. 2. Command supaya php-curl jalan di browser
  9. ================================================
  10. > setsebool httpd_can_network_connect 1
  11.  
  12. ===========================================
  13. 3. Vim command
  14. ===========================================
  15. > gg terus dG
  16. > :wq
  17. > :q!
  18.  
  19. ===========
  20. 4.Cron Job
  21. ===========
  22.  
  23. * * * * * /usr/bin/php /usr/share/nginx/html/basic.php
  24. https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-centos-8
Add Comment
Please, Sign In to add comment