Skip to content
Snippets Groups Projects
Commit caacbe39 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

WIP CI

parent ac1cc6e0
No related branches found
No related tags found
1 merge request!2Use GitLab CI to build site
Pipeline #172 passed with stage
in 1 minute and 28 seconds
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
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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment