-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fdc1dd
commit eb6283e
Showing
41 changed files
with
105 additions
and
94 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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
from conreq.app.register import ( | ||
component, | ||
components, | ||
homepage, | ||
http, | ||
startup, | ||
tabs, | ||
template, | ||
view, | ||
templates, | ||
views, | ||
websockets, | ||
) | ||
|
||
__all__ = [ | ||
"websockets", | ||
"component", | ||
"components", | ||
"homepage", | ||
"startup", | ||
"tabs", | ||
"template", | ||
"view", | ||
"templates", | ||
"views", | ||
"http", | ||
] |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
???+ note "Attribution" | ||
|
||
{% include-markdown "../../../CHANGELOG.md" start="<!-- attr -->" end="<!-- attr-end -->" trailing-newlines=false %} | ||
|
||
{% include-markdown "../../../CHANGELOG.md" start="<!-- changelog -->" end="<!-- changelog-end -->" %} |
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.md-footer__inner { | ||
display: none; | ||
display: none !important; | ||
} | ||
|
||
.md-typeset :is(.admonition, details) { | ||
|
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,7 @@ | ||
Start Conreq | ||
|
||
Navigate to http://xxxx:7575 | ||
|
||
Follow the setup procedures | ||
|
||
Feel free to expose Conreq to the internet |
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,20 @@ | ||
Include security and performance changes that can be made | ||
|
||
## Security | ||
|
||
- Configure Conreq to use SSL | ||
- Use system variables for secret keys | ||
- Limit allowed hosts to only include URLs Conreq will be served at (local URLs can also be safe) | ||
- Limit CSRF trusted origins | ||
- Ensure Debug Mode is turned off whenever exposing Conreq to the internet | ||
- Reduce max session age | ||
- Enable Rotate Secret Key | ||
- Configure email settings to receive security alerts | ||
|
||
## Performance | ||
|
||
- Use Nginx with `X-Accel` (View reverse proxy docs) | ||
- Increase worker count | ||
- Reduce logging | ||
- Use a production database, such as MySQL | ||
- Use a high performance cache, such as Redis |
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,7 @@ | ||
???+ Summary | ||
|
||
You can reverse proxy Conreq, but make sure to allow websockets and set your proxy headers. | ||
|
||
There are situations that you may want to reverse proxy Conreq, such as with distributed computing or for traffic optimization. | ||
|
||
1. Set Allowed Forwarding IPs |
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