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 Last revision Both sides next revision | ||
middleware:nginx:index.html [2018/01/27 22:47] kurihara |
middleware:nginx:index.html [2018/03/14 00:33] kurihara |
||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
- | + | \\ | |
- | ==== Ref. Remote Shell Commands | + | ==== Fabric Temporary Run Call Examples |
<sxh bash toolbar: | <sxh bash toolbar: | ||
$ H=test-server-1, | $ H=test-server-1, | ||
Line 26: | Line 26: | ||
$ 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 | ||
$ fab -H $H auth.pro | $ fab -H $H auth.pro | ||
Line 41: | Line 44: | ||
from fabric.api import * | from fabric.api import * | ||
from fabric.contrib import files | from fabric.contrib import files | ||
+ | from datetime import datetime | ||
# | # | ||
Line 60: | Line 64: | ||
# Check Configuration Files | # Check Configuration Files | ||
# | # | ||
+ | # nginx.check_files_etc_nginx | ||
+ | @task | ||
+ | def check_nginx.conf(): | ||
+ | ''' | ||
+ | sudo(" | ||
+ | |||
# nginx.check_files_etc_nginx | # nginx.check_files_etc_nginx | ||
@task | @task | ||
Line 65: | Line 75: | ||
''' | ''' | ||
run(" | run(" | ||
+ | |||
Line 80: | Line 91: | ||
\\ | \\ | ||
- | ===== Configuration ===== | + | ===== Nginx Configuration |
*[[middleware: | *[[middleware: | ||
*[[middleware: | *[[middleware: | ||
Line 89: | Line 100: | ||
\\ | \\ | ||
<WRAP box 90%> | <WRAP box 90%> | ||
- | < | + | <catlist .: -noAddPageButton -smallHead -sortAscending> |
</ | </ | ||
\\ | \\ | ||
[[: | [[: |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.