This file contains hidden or 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 { | |
listen 0.0.0.0:80; | |
listen [::]:80; | |
server_name alanadi-1.com alanadi-2.com alanadi-3.com; | |
server_tokens off; | |
access_log /var/log/nginx/le_access.log; | |
error_log /var/log/nginx/le_error.log; | |
location /.well-known/ { | |
alias /var/www/letsencrypt/.well-known/; |
This file contains hidden or 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
<?php | |
namespace AppBundle\Annotations; | |
/** | |
* @Annotation | |
*/ | |
class AllowedUser | |
{ | |
public $group; | |
} |
This file contains hidden or 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
<?php | |
// AppBundle/Controller/TodoController.php | |
namespace AppBundle\Controller; | |
use AppBundle\Entity\Todo; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; | |
class TodoController extends Controller | |
{ | |
/** |