-
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.
- Loading branch information
Showing
2 changed files
with
20 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,23 +10,23 @@ reIf { | |
content_type = "text/plain; charset=utf-8"; | ||
text = '' | ||
/|、 | ||
(˙、.7 | ||
|、~ヽ | ||
じしf_,)ノ | ||
/|、 | ||
(˙、.7 | ||
|、~ヽ | ||
じしf_,)ノ | ||
Submit files via HTTP POST here: | ||
curl -F '[email protected]' <server> | ||
This will return the URL of the uploaded file nya. | ||
The server administrator might remove any pastes that they do not personally | ||
want to host. | ||
If you are the server administrator and want to change this page, just go | ||
into your config file and change it! If you change the expiry time, it is | ||
recommended that you do. | ||
By default, pastes expire every hour. The server admin may or may not have | ||
changed this. | ||
Check out the GitHub repository at https://github.com/orhun/rustypaste | ||
Command line tool is available at https://github.com/orhun/rustypaste-cli | ||
Submit files via HTTP POST here: | ||
curl -F '[email protected]' <server> | ||
This will return the URL of the uploaded file nya. | ||
The server administrator might remove any pastes that they do not personally | ||
want to host. | ||
If you are the server administrator and want to change this page, just go | ||
into your config file and change it! If you change the expiry time, it is | ||
recommended that you do. | ||
By default, pastes expire every hour. The server admin may or may not have | ||
changed this. | ||
Check out the GitHub repository at https://github.com/orhun/rustypaste | ||
Command line tool is available at https://github.com/orhun/rustypaste-cli | ||
''; | ||
}; | ||
paste = { | ||
|
@@ -85,7 +85,8 @@ reIf { | |
handle_spaces = "replace"; | ||
max_content_length = "10MB"; | ||
timeout = "30s"; | ||
upload_path = "./upload"; | ||
upload_path = "/var/lib/rustypaste/"; | ||
duplicate_files = true; | ||
url = "https://pb.nyaw.xyz"; | ||
}; | ||
}; | ||
|