Skip to content

Commit

Permalink
Update mailur page
Browse files Browse the repository at this point in the history
Also update "rsync" target with "nginx.conf" file.
  • Loading branch information
naspeh committed Jan 27, 2019
1 parent c627df2 commit e632be4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions data/mailur/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@

Brand-new version [uses Dovecot][gh09] as the main storage, no database required.

This version is already in use. It has minimal feature set I need on daily basis. I have a lot of ideas for further development, just need free time to implement all of them.
This version is already in use. It has minimal feature set I need on daily basis. I have big plans for this project and I'm still working on it when I have spare time.

## Related links
- [roadmap 2018][gh11]
- [public demo][demo] (credentials: demo/demo)
- [overview video][vimeo]
- [github page][gh]

![Screenshots](screenshots.gif)
Expand All @@ -27,5 +25,4 @@ This version is already in use. It has minimal feature set I need on daily basis
[vimeo]: https://vimeo.com/259140545
[gh]: https://github.com/naspeh/mailur/
[gh09]: https://github.com/naspeh/mailur/issues/9
[gh11]: https://github.com/naspeh/mailur/issues/11
[Markdown]: https://daringfireball.net/projects/markdown/syntax
8 changes: 4 additions & 4 deletions deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ server {
rewrite ^(.*)$ https://pusto.org$1 permanent;
}
server {
listen 80;
listen [::]:80;
listen 80 default;
listen [::]:80 default;
server_name pusto.org www.pusto.org;
return 301 https://pusto.org$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl http2 default;
listen [::]:443 ssl http2 default;

server_name pusto.org www.pusto.org;
if ($host != "pusto.org") {
Expand Down
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def process_args():

cmd('rsync', help='rsync to server')\
.exe(lambda a: sh(
'rsync -av ./build/ {0}:/opt/pusto/'
'rsync -av --delete ./build/ {0}:/opt/pusto/'
'&& rsync -av ./deploy/nginx.conf {0}:/etc/nginx/conf.d/pusto.conf'
'&& ssh {0} "nginx -s reload"'
.format('root@h1.pusto.org')
Expand Down

0 comments on commit e632be4

Please sign in to comment.