We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f01f51 commit 7b5983cCopy full SHA for 7b5983c
Dockerfile
@@ -47,6 +47,11 @@ RUN perl -pi -e "s/ is '' / == '' /" ${AZUREROOT}_connection.py
47
ENV OPENCENSUSINIT=/usr/local/lib/python3.11/site-packages/opencensus/common/schedule/__init__.py
48
RUN perl -pi -e "s/logger.warning.*/pass/" ${OPENCENSUSINIT} 2>/dev/null
49
50
+# To avoid 'NoneType' object has no attribute 'get' in clickjacking.py, 20250305:
51
+ENV CLICKJACKING=/usr/local/lib/python3.11/site-packages/django/middleware/clickjacking.py
52
+RUN perl -pi -e "s/if response.get/if response is None:\n return\n\n if response.get/" ${CLICKJACKING} 2>/dev/null
53
+
54
55
COPY main/nginx.conf /etc/nginx/sites-available/
56
RUN \
57
ln -s /etc/nginx/sites-available/nginx.conf /etc/nginx/sites-enabled; \
0 commit comments