FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
middleware:nginx:index.html [2017/12/31 23:36] kurihara |
middleware:nginx:index.html [2018/02/12 01:19] kurihara |
||
---|---|---|---|
Line 12: | Line 12: | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ fab -l |grep nginx | $ fab -l |grep nginx | ||
+ | </ | ||
+ | <sxh bash toolbar: | ||
$ H=test-server-1, | $ H=test-server-1, | ||
$ fab -H $H auth.pro | $ fab -H $H auth.pro | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Ref. Remote Shell Commands ==== | ||
+ | <sxh bash toolbar: | ||
+ | $ H=test-server-1, | ||
+ | |||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
+ | |||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
+ | |||
+ | $ fab -H $H auth.pro | ||
+ | $ fab -H $H auth.pro | ||
</ | </ | ||
Line 46: | Line 63: | ||
# Check Configuration Files | # Check Configuration Files | ||
# | # | ||
+ | # nginx.check_files_etc_nginx | ||
+ | @task | ||
+ | def check_nginx nginx.conf(): | ||
+ | ''' | ||
+ | sudo(" | ||
+ | |||
# nginx.check_files_etc_nginx | # nginx.check_files_etc_nginx | ||
@task | @task | ||
Line 51: | Line 74: | ||
''' | ''' | ||
run(" | run(" | ||
+ | |||
Line 66: | Line 90: | ||
\\ | \\ | ||
- | ===== Configuration ===== | + | ===== Nginx Configuration |
*[[middleware: | *[[middleware: | ||
*[[middleware: | *[[middleware: | ||
Line 75: | Line 99: | ||
\\ | \\ | ||
<WRAP box 90%> | <WRAP box 90%> | ||
- | < | + | <catlist .: -noAddPageButton -smallHead -sortAscending> |
</ | </ | ||
\\ | \\ | ||
[[: | [[: |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.