Skip to content
This repository was archived by the owner on Jun 10, 2018. It is now read-only.

kkretsch/alibIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0999b7c · May 22, 2018
Sep 23, 2017
Sep 29, 2017
Mar 22, 2017
Feb 15, 2017
Apr 30, 2018
Sep 29, 2017
May 22, 2018
Feb 17, 2017
Aug 24, 2016
Oct 3, 2017
Aug 19, 2016
Aug 19, 2016
Feb 17, 2017
Feb 17, 2017
Jan 31, 2017
May 1, 2018
May 1, 2018

Repository files navigation

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.