Initial scaffold and technical specification

Made-with: Cursor
This commit is contained in:
Andrey Lutsenko
2026-04-09 21:40:04 +10:00
commit 284794ec8d
10 changed files with 487 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=nettopo-go API service
After=network.target
[Service]
Type=simple
User=www-data
WorkingDirectory=/opt/nettopo-go
Environment=HTTP_ADDR=:8080
ExecStart=/opt/nettopo-go/nettopo-server
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:8080/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>