Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ant.sr
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton Sarukhanov
ant.sr
Commits
caacbe39
Commit
caacbe39
authored
4 years ago
by
Anton Sarukhanov
Browse files
Options
Downloads
Patches
Plain Diff
WIP CI
parent
ac1cc6e0
No related branches found
No related tags found
1 merge request
!2
Use GitLab CI to build site
Pipeline
#172
passed with stage
in 1 minute and 28 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+4
-1
4 additions, 1 deletion
Dockerfile
nginx.conf
+15
-0
15 additions, 0 deletions
nginx.conf
with
19 additions
and
1 deletion
Dockerfile
+
4
−
1
View file @
caacbe39
FROM
nginx:1.17
COPY
output /usr/share/nginx/html
RUN
rm
/etc/nginx/conf.d/default.conf
COPY
nginx.conf /etc/nginx/conf.d/ant.sr.conf
COPY
output /opt/ant.sr/html
This diff is collapsed.
Click to expand it.
nginx.conf
0 → 100644
+
15
−
0
View file @
caacbe39
server
{
listen
80
;
location
/
{
root
/opt/ant.sr/html
;
error_page
404
=
@files
;
}
location
@files
{
root
/opt/ant.sr/files
;
error_page
404
=
@urlshortener
}
location
@urlshortener
{
# TODO!
return
404
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment