Menu

Tree [69cb91] master /
 History

HTTPS access


File Date Author Commit
 .settings 2017-09-23 Kai Kai [f82376] meta stuff
 application 2017-09-29 Kai Kai [25fb69] Tweet Link
 locales 2017-03-22 Kai Kretschmann Kai Kretschmann [58e939] Info page
 mailtpl 2017-02-15 Kai Kretschmann Kai Kretschmann [e0188d] Calendar
 public 2017-09-29 Kai Kai [25fb69] Tweet Link
 routes 2017-09-29 Kai Kai [1474b8] ID corrected
 views 2017-09-29 Kai Kai [25fb69] Tweet Link
 .gitignore 2017-02-17 Kai Kretschmann Kai Kretschmann [900d9a] clean up
 .jshintrc 2016-08-24 Kai Kretschmann Kai Kretschmann [4192da] JShint
 .project 2017-10-03 kai kai [69cb91] Change project name to repository name.
 .sublime-project 2016-08-19 Kai Kretschmann Kai Kretschmann [32d4e2] Initial frame
 .tern-project 2016-08-19 Kai Kretschmann Kai Kretschmann [32d4e2] Initial frame
 LICENSE 2017-02-17 Kai Kretschmann Kai Kretschmann [050ee5] Initial commit
 README.md 2017-02-17 Kai Kretschmann Kai Kretschmann [8b59e3] formatting
 app.js 2017-01-31 Kai Kretschmann Kai Kretschmann [59af0d] new
 package.json 2017-09-26 Kai Kai [0bbc17] Tweet hash messages

Read Me

alibIP

Usage

systemd startup

/etc/systemd/system/iplog.service:

[Unit]
Description=Node.js alibIP server
Requires=After=mysql.service       # Requires the mysql service to run first

[Service]
ExecStartPre=/usr/bin/npm run email-build
ExecStart=/usr/bin/node /var/www/alibip/app.js
Restart=always
SyslogIdentifier=NodejsAlibIP
User=www-data
Group=www-data
Environment=NODE_ENV=production
Environment=SERVER_PORT=3003
Environment=SERVER_IFACE=127.0.0.1
WorkingDirectory=/var/www/alibip
UMask=007

[Install]
WantedBy=multi-user.target

Developing

NGinx http header

add_header Strict-Transport-Security "max-age=63072000; ";
add_header X-Frame-Options "DENY";
add_header X-Content-Type-Options "nosniff";
add_header Content-Security-Policy "default-src https: 'unsafe-inline'; frame-ancestors 'none'; style-src 'self' https://netdna.bootstrapcdn.com/; script-src 'self' 'unsafe-inline' https://stat.myocastor.de/ https://code.jquery.com/ https://netdna.bootstrapcdn.com/";

Tools

Created with Nodeclipse
(Eclipse Marketplace, site)

Nodeclipse is free open-source project that grows with your contributions.