remove certbot from cutlergyor image; remove set header from 000-default.conf
This commit is contained in:
parent
de10ca49db
commit
ceac80f364
@ -28,10 +28,10 @@
|
||||
#Include conf-available/serve-cgi-bin.conf
|
||||
|
||||
# Always set these headers.
|
||||
Header always set Access-Control-Allow-Origin "*"
|
||||
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
|
||||
Header always set Access-Control-Max-Age "1000"
|
||||
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
|
||||
# Header always set Access-Control-Allow-Origin "*"
|
||||
# Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
|
||||
# Header always set Access-Control-Max-Age "1000"
|
||||
# Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
|
||||
|
||||
# Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request.
|
||||
RewriteEngine On
|
||||
|
||||
@ -49,7 +49,6 @@ COPY index.html /var/www/html/
|
||||
|
||||
COPY apache2.conf /etc/apache2/
|
||||
|
||||
RUN apt install -y certbot python3-certbot-apache
|
||||
|
||||
# Ports
|
||||
EXPOSE 80
|
||||
|
||||
Loading…
Reference in New Issue
Block a user