Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Clubphp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Clubphp
Commits
c1cce64e
Commit
c1cce64e
authored
Apr 07, 2026
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3 files via Son of Anton
parent
90e262a9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
154 additions
and
114 deletions
+154
-114
captain-definition
captain-definition
+2
-2
000-default.conf
docker/000-default.conf
+10
-5
entrypoint.sh
docker/entrypoint.sh
+142
-107
No files found.
captain-definition
View file @
c1cce64e
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}
\ No newline at end of file
docker/000-default.conf
View file @
c1cce64e
...
...
@@ -3,20 +3,25 @@
DocumentRoot
/
var
/
www
/
html
/
public
<
Directory
/
var
/
www
/
html
/
public
>
Options
-
Indexes
+
FollowSymLinks
AllowOverride
All
Require
all
granted
Options
-
Indexes
+
FollowSymLinks
# Fallback to index.php for all non-file requests
FallbackResource
/
index
.
php
# Ensure mod_rewrite works
<
IfModule
mod_rewrite
.
c
>
RewriteEngine
On
RewriteCond
%{
REQUEST_FILENAME
} !-
f
RewriteCond
%{
REQUEST_FILENAME
} !-
d
RewriteRule
^(.*)$
index
.
php
[
QSA
,
L
]
</
IfModule
>
</
Directory
>
# Block access to
sensitive
directories
# Block access to
non-public
directories
<
DirectoryMatch
"^/var/www/html/(app|config|database|storage|cron|docker)"
>
Require
all
denied
</
DirectoryMatch
>
# Block
.env and .git acces
s
# Block
dotfile
s
<
FilesMatch
"^\."
>
Require
all
denied
</
FilesMatch
>
...
...
docker/entrypoint.sh
View file @
c1cce64e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment