This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Due to best practices, we need to create a new service which is used by the ImageListener. | |
Its role is to upload files and generate an unique filename. | |
NOTA: | |
The default $uploadPath is autowired by argument binding inside services.yaml | |
but in this case, we override it with the $path argument of the upload method. | |
*/ | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global_config] | |
window_state = maximise | |
handle_size = 0 | |
title_hide_sizetext = True | |
title_transmit_fg_color = "#bd93f9" | |
title_inactive_fg_color = "#f8f8f2" | |
title_receive_bg_color = "#282a36" | |
title_transmit_bg_color = "#282a36" | |
title_receive_fg_color = "#8be9fd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
root /var/www/example.com/static; | |
server_name example.com; | |
access_log /var/log/nginx/example.com.access.log; | |
error_log /var/log/nginx/example.com.error.log; | |
try_files /maintenance.html @proxy; | |
location @proxy { | |
proxy_pass http://127.0.0.1:10001; |