Compare commits

..

27 Commits

Author SHA1 Message Date
c4af51c75a Merge pull request 'Update Caddyfile' (#20) from miko089-patch-1 into main
Reviewed-on: #20
2026-04-09 13:17:00 +00:00
9ac5ecb497 Update docs/ports.md 2026-04-09 13:16:49 +00:00
e4ad83f733 Update Caddyfile 2026-04-09 13:16:13 +00:00
54a8cedb41 Merge pull request 'Update Caddyfile' (#19) from just-mn-caddy-edit into main
Reviewed-on: #19
2026-04-01 12:10:28 +00:00
8c685c4019 Обновить Caddyfile 2026-04-01 11:49:58 +00:00
874afb42c2 Merge pull request 'foundry' (#18) from foundry into main
Reviewed-on: #18
2026-02-28 15:40:34 +00:00
12f6c997c8 Update Caddyfile 2026-02-28 15:40:12 +00:00
dea15a1305 Update docs/ports.md 2026-02-28 15:39:08 +00:00
19cf58a130 Merge pull request 'opened just-mn's ports' (#17) from justmns-ports into main
Reviewed-on: #17
Reviewed-by: miko089 <ghastmisha089@gmail.com>
2026-02-26 13:48:52 +00:00
just-mn
0adb55526c opened just-mn's ports 2026-02-26 16:46:30 +03:00
9a58a047a0 Merge pull request 'add just-mn's domain' (#16) from add-justmn-domain into main
Reviewed-on: #16
2026-02-25 18:03:11 +00:00
just-mn
634ef052bc add just-mn's domain 2026-02-25 20:49:22 +03:00
4368ce7908 Merge pull request 'fix caddyfile. wildcard isnt works like expected' (#15) from jstmn-caddy-edit into main
Reviewed-on: #15
Reviewed-by: miko089 <ghastmisha089@gmail.com>
2026-02-25 16:38:12 +00:00
12fedaabd7 fix caddyfile. wildcard isnt works like expected 2026-02-25 16:38:12 +00:00
0feb593e8f Merge pull request 'add just-mn's wildcard conf' (#14) from jstmn-caddy-edit into main
Reviewed-on: #14
Reviewed-by: miko089 <ghastmisha089@gmail.com>
2026-02-25 16:26:02 +00:00
e97d3f08b2 add just-mn's wildcard conf 2026-02-25 19:23:24 +03:00
c9f32cf982 Merge pull request 'just-mn's ports and caddyfile edit' (#8) from just-mn/space-infra:main into main
Reviewed-on: #8
Reviewed-by: miko089 <ghastmisha089@gmail.com>
2026-02-25 10:32:40 +00:00
just-mn
b9cd84278e just-mn's ports and caddyfile edit 2026-02-25 13:23:29 +03:00
cfbf8b8258 Merge pull request 'add caddyfile' (#7) from caddyfile into main
Reviewed-on: #7
2026-02-24 21:45:25 +00:00
3c3d3bc782 add caddyfile 2026-02-24 23:33:32 +02:00
5d368ab8ea Merge pull request 'open port' (#6) from rogon-port into main
Reviewed-on: #6
Reviewed-by: miko089 <ghastmisha089@gmail.com>
2026-02-22 19:20:56 +00:00
df9414da9e open port 2026-02-22 22:19:50 +03:00
348f808b1b Merge pull request 'format changed' (#5) from format-ports into main
Reviewed-on: #5
Reviewed-by: Rogon1256 <rogongame1256@gmail.com>
2026-02-22 19:11:48 +00:00
d4e110f363 format changed 2026-02-22 21:09:43 +02:00
ea6d8ff01c Merge pull request 'script adduser-space' (#4) from adduser-space into main
Reviewed-on: #4
Reviewed-by: just-mn <just-mn@noreply.localhost>
2026-02-22 18:55:22 +00:00
bdf694d7a7 add explnation for lingering in README 2026-02-22 15:49:36 +03:00
738e40ba48 script adduser-space 2026-02-22 14:34:11 +02:00
4 changed files with 49 additions and 5 deletions

23
Caddyfile Normal file
View File

@@ -0,0 +1,23 @@
{
admin unix//run/caddy/admin.sock
}
gitea.miko089.space {
reverse_proxy :1024
}
foundry.miko089.space {
reverse_proxy :1489
}
catstest.miko089.space {
reverse_proxy :9999
}
just-mn.dev {
reverse_proxy :2347
}
calenbar.just-mn.dev {
reverse_proxy :2347
}

View File

@@ -2,3 +2,9 @@
## Docs ## Docs
docs folder includes some documentation about how to use server. Please read docs and ask questions if you don't understand how to use smth directly or in issues docs folder includes some documentation about how to use server. Please read docs and ask questions if you don't understand how to use smth directly or in issues
## Scripts
### [adduser-script](/scripts/adduser-space)
enables lingering after creating a user\
lingering means user's systemd services are continue work after logout and start with system start

View File

@@ -3,11 +3,20 @@
This file explains which ports are used and for what reason (please categorize them somehow and sort if possible) This file explains which ports are used and for what reason (please categorize them somehow and sort if possible)
## Shared usage ## Shared usage
22 - ssh\ 22 - open - ssh\
80 - caddy\ 80 - open - caddy\
443 - caddy\ 443 - open - caddy\
1024 - gitea exposed on that port inside the server (not allowed to use from outside)\ 1024 - closed - gitea exposed on that port inside the server (not allowed to use from outside)\
1025 - gitea exposed it's ssh on that port (therefore allowed from outside)\ 1025 - open - gitea exposed it's ssh on that port (therefore allowed from outside)
#### User ports
1256 - open - Rogon1256's personal port\
2347 - closed - just-mn's personal port\
8443 - open - another justmn's personal port\
2047 - open - another justmn's personal port\
2048 - open - another justmn's personal port\
1489 - open - miko089's foundry instance\
9999 - closed - cat thing
## Rules ## Rules
If you want to add some extra port, then please: If you want to add some extra port, then please:

6
scripts/adduser-space Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
username=$1
useradd -m -s /bin/bash "$username"
loginctl enable-linger "$username"
echo "$username"