Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependecies, dockerfile, deployment config, nginx config
- Loading branch information
Showing
4 changed files
with
16 additions
and
15 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
16 changes: 11 additions & 5 deletions
16
...witter.krebsco.de/mediengewitter/etc/nginx/sites-available/mediengewitter.krebsco.de.conf
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,15 +1,21 @@ | ||
server { | ||
listen 80; | ||
server_name mediengewitter.krebsco.de; | ||
listen 80; | ||
server_name mediengewitter.krebsco.de; | ||
# access_log /var/log/nginx/log/mediengewitter.log; | ||
# error_log /var/log/nginx/log/mediengewitter_error.log; | ||
default_type text/plain; | ||
location / { | ||
default_type text/plain; | ||
location / { | ||
proxy_pass http://127.0.0.1:8080/; | ||
proxy_redirect off; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
} | ||
} | ||
location /socket.io/ { | ||
proxy_pass http://127.0.0.1:8080; | ||
proxy_http_version 1.1; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
} | ||
} | ||
|
Submodule mediengewitter
updated
4 files
+14 −30 | app.js | |
+3 −1 | lib/imagecache.js | |
+10 −0 | lib/websocket.js | |
+3 −3 | package.json |