Config for start project
This commit is contained in:
parent
4c0cdce709
commit
00dcd1c582
14
Conf/APICycleVDP.service
Normal file
14
Conf/APICycleVDP.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=API Cycles VDP Server
|
||||
After=syslog.target network.target mysqld.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=*path_to_work_directory*
|
||||
ExecStart=*path_to_aspnetcore*/dotnet *path_to_work_directory*/APICycleVDP.dll
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
SyslogIdentifier=APICycleVDP
|
||||
User=*set_user*
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
14
Conf/GenCycleVDP.service
Normal file
14
Conf/GenCycleVDP.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Generator Data For Cycles VDP
|
||||
After=syslog.target network.target mysqld.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=*path_to_work_directory*
|
||||
ExecStart=*path_to_aspnetcore*/dotnet *path_to_work_directory*/GenCycleVDP.dll
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
SyslogIdentifier=GenCycleVDP
|
||||
User=*set_user*
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
21
Conf/nginx.conf
Normal file
21
Conf/nginx.conf
Normal file
@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen *:443 ssl;
|
||||
server_name *domain_name*;
|
||||
|
||||
access_log *path_to_log*/access.log main;
|
||||
error_log *path_to_log*/error.log error;
|
||||
ssl_certificate *path_to_cert*/fullchain.pem;
|
||||
ssl_certificate_key *path_to_cert*/privkey.pem;
|
||||
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_ciphers "RC4:HIGH:!aNULL:!MD5:!kEDH";
|
||||
|
||||
location /api/ {
|
||||
proxy_pass *link_to_listen_api*;
|
||||
}
|
||||
|
||||
root *path_to_web_dir*;
|
||||
index index.html;
|
||||
location / {
|
||||
index index.html;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user