forked from Chaosthebot/Chaos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merging PR Chaosthebot#515: Fully deprecate old web server and fix ne…
…w one Chaosthebot#515: Fully deprecate old web server and fix new one Description: * Move API endpoints to `/api/` * Reintroduce error page rendering * Kill old web server, just in case it's still running * Reload nginx when updating ChaosBot to ensure that configs are reloaded :white_check_mark: PR passed with a vote of 10 for and 0 against, a weighted total of 9.5 and a threshold of 6.5, and a current meritocracy review. Vote record: @PlasmaPower: 1 @Smittyvb: 1 @andrewda: 1 @e-beach: 1 @JustynC7: 1 @md678685: 1 @phil-r: 1 @rhengles: 1 @rohanrk: 1 @rudehn: 1
- Loading branch information
Showing
5 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
pkill chaos_server | ||
|
||
ln -sf /var/log/nginx/access.log /root/workspace/Chaos/log/nginx-access.log | ||
ln -sf /var/log/nginx/error.log /root/workspace/Chaos/log/nginx-error.log | ||
|
||
nginx -t | ||
service nginx force-reload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters