mirror of
https://github.com/pretix/pretix.git
synced 2026-04-25 23:42:32 +00:00
Compare commits
3 Commits
datasync-l
...
v2023.6.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
669f622ce6 | ||
|
|
d166c7ee68 | ||
|
|
0282cfbdd5 |
@@ -33,8 +33,7 @@ RUN apt-get update && \
|
|||||||
mkdir /static && \
|
mkdir /static && \
|
||||||
mkdir /etc/supervisord && \
|
mkdir /etc/supervisord && \
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && \
|
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && \
|
||||||
apt-get install -y nodejs && \
|
apt-get install -y nodejs
|
||||||
curl -qL https://www.npmjs.com/install.sh | sh
|
|
||||||
|
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8 \
|
ENV LC_ALL=C.UTF-8 \
|
||||||
|
|||||||
@@ -19,4 +19,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
|
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
|
||||||
# <https://www.gnu.org/licenses/>.
|
# <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
__version__ = "2023.6.0"
|
__version__ = "2023.6.1"
|
||||||
|
|||||||
@@ -165,13 +165,13 @@ if SITE_URL.endswith('/'):
|
|||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = [urlparse(SITE_URL).scheme + '://' + urlparse(SITE_URL).hostname]
|
CSRF_TRUSTED_ORIGINS = [urlparse(SITE_URL).scheme + '://' + urlparse(SITE_URL).hostname]
|
||||||
|
|
||||||
TRUST_X_FORWARDED_FOR = config.get('pretix', 'trust_x_forwarded_for', fallback=False)
|
TRUST_X_FORWARDED_FOR = config.getboolean('pretix', 'trust_x_forwarded_for', fallback=False)
|
||||||
USE_X_FORWARDED_HOST = config.get('pretix', 'trust_x_forwarded_host', fallback=False)
|
USE_X_FORWARDED_HOST = config.getboolean('pretix', 'trust_x_forwarded_host', fallback=False)
|
||||||
|
|
||||||
|
|
||||||
REQUEST_ID_HEADER = config.get('pretix', 'request_id_header', fallback=False)
|
REQUEST_ID_HEADER = config.get('pretix', 'request_id_header', fallback=False)
|
||||||
|
|
||||||
if config.get('pretix', 'trust_x_forwarded_proto', fallback=False):
|
if config.getboolean('pretix', 'trust_x_forwarded_proto', fallback=False):
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||||
|
|
||||||
PRETIX_PLUGINS_DEFAULT = config.get('pretix', 'plugins_default',
|
PRETIX_PLUGINS_DEFAULT = config.get('pretix', 'plugins_default',
|
||||||
|
|||||||
Reference in New Issue
Block a user