Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:hg [2024/07/16 23:23] – [Run it] darron | tools:hg [2024/07/16 23:26] (current) – darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
====Mercurial==== | ====Mercurial==== | ||
+ | |||
+ | This example install mercurial as a web service. | ||
===Install=== | ===Install=== | ||
Line 107: | Line 109: | ||
exec /bin/uwsgi --die-on-term --plugins python3 --uwsgi-socket / | exec /bin/uwsgi --die-on-term --plugins python3 --uwsgi-socket / | ||
</ | </ | ||
+ | ===NGINX=== | ||
+ | |||
+ | < | ||
+ | ... | ||
+ | location / { | ||
+ | uwsgi_pass unix:/ | ||
+ | include uwsgi_params; | ||
+ | |||
+ | limit_except GET HEAD { | ||
+ | auth_basic " | ||
+ | auth_basic_user_file / | ||
+ | } | ||
+ | } | ||
+ | |||
+ | location /static/ { | ||
+ | alias / | ||
+ | expires 30d; | ||
+ | } | ||
+ | ... | ||
+ | </ | ||
+ | |||
===Resources=== | ===Resources=== | ||