Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UGC Heaven Web PHP
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
UGC Heaven Web PHP
Commits
a5e223fe
Commit
a5e223fe
authored
Jun 27, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed again
parent
b658b903
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
Dockerfile
Dockerfile
+4
-2
nginx-main.conf
docker/nginx-main.conf
+24
-0
No files found.
Dockerfile
View file @
a5e223fe
...
@@ -83,8 +83,10 @@ RUN chown -R www-data:www-data /var/www/html \
...
@@ -83,8 +83,10 @@ RUN chown -R www-data:www-data /var/www/html \
&&
chmod
-R
755 /var/www/html/storage
\
&&
chmod
-R
755 /var/www/html/storage
\
&&
chmod
-R
755 /var/www/html/bootstrap/cache
&&
chmod
-R
755 /var/www/html/bootstrap/cache
# Copy config files
# Nginx config — replace default with our own to guarantee correct root
COPY
docker/nginx.conf /etc/nginx/http.d/default.conf
RUN
rm
-rf
/etc/nginx/http.d /etc/nginx/conf.d
&&
mkdir
-p
/etc/nginx/conf.d
COPY
docker/nginx-main.conf /etc/nginx/nginx.conf
COPY
docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY
docker/supervisord.conf /etc/supervisord.conf
COPY
docker/supervisord.conf /etc/supervisord.conf
COPY
docker/entrypoint.sh /entrypoint.sh
COPY
docker/entrypoint.sh /entrypoint.sh
RUN
chmod
+x /entrypoint.sh
RUN
chmod
+x /entrypoint.sh
...
...
docker/nginx-main.conf
0 → 100644
View file @
a5e223fe
worker_processes
auto
;
error_log
/
dev
/
stderr
warn
;
pid
/
var
/
run
/
nginx
.
pid
;
events
{
worker_connections
1024
;
}
http
{
include
/
etc
/
nginx
/
mime
.
types
;
default_type
application
/
octet
-
stream
;
sendfile
on
;
tcp_nopush
on
;
keepalive_timeout
65
;
log_format
main
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'
;
access_log
/
dev
/
stdout
main
;
include
/
etc
/
nginx
/
conf
.
d
/*.
conf
;
}
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